summaryrefslogtreecommitdiff
path: root/gdb/symtab.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-11-04 22:22:31 +0000
committerAndrew Cagney <cagney@redhat.com>2003-11-04 22:22:31 +0000
commit2a6cd47e8d5d75792c74fe0bbc5566d0b3933065 (patch)
treef9ac039c06fa6eb3665c57a436e943b4744568f2 /gdb/symtab.h
parent38b24084552137f8a34006f215715842c99e54e1 (diff)
downloadgdb-2a6cd47e8d5d75792c74fe0bbc5566d0b3933065.tar.gz
2003-11-04 Andrew Cagney <cagney@redhat.com>
* symtab.c (find_active_alias): Delete function. (lookup_block_symbol): Delete alias code. * stabsread.c (resolve_live_range): Delete function. (add_live_range): Delete function. (resolve_symbol_reference): Delete function. (define_symbol): Delete live range and alias code. (scan_file_globals): Delete alias code. * symtab.h (SYMBOL_RANGES): Delete macro. (struct range_list): Delete structure. (struct symbol): Delete field "ranges". (SYMBOL_ALIASES): Delete macro. (struct alias_list): Delete structure. (struct symbol): Delete field "aliases".
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 437c9ea7679..4a6127f6e44 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -583,22 +583,6 @@ struct location_funcs
struct axs_value * value);
};
-/* Linked list of symbol's live ranges. */
-
-struct range_list
-{
- CORE_ADDR start;
- CORE_ADDR end;
- struct range_list *next;
-};
-
-/* Linked list of aliases for a particular main/primary symbol. */
-struct alias_list
-{
- struct symbol *sym;
- struct alias_list *next;
-};
-
/* This structure is space critical. See space comments at the top. */
struct symbol
@@ -651,15 +635,6 @@ struct symbol
}
aux_value;
-
- /* Link to a list of aliases for this symbol.
- Only a "primary/main symbol may have aliases. */
- struct alias_list *aliases;
-
- /* List of ranges where this symbol is active. This is only
- used by alias symbols at the current time. */
- struct range_list *ranges;
-
struct symbol *hash_next;
};
@@ -670,8 +645,6 @@ struct symbol
#define SYMBOL_LINE(symbol) (symbol)->line
#define SYMBOL_BASEREG(symbol) (symbol)->aux_value.basereg
#define SYMBOL_OBJFILE(symbol) (symbol)->aux_value.objfile
-#define SYMBOL_ALIASES(symbol) (symbol)->aliases
-#define SYMBOL_RANGES(symbol) (symbol)->ranges
#define SYMBOL_LOCATION_BATON(symbol) (symbol)->aux_value.loc.baton
#define SYMBOL_LOCATION_FUNCS(symbol) (symbol)->aux_value.loc.funcs