aboutsummaryrefslogtreecommitdiff
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
commit507836c0f023b2d251d9924198866db01b8cd09e (patch)
tree96760e16141933585e8a56cade7ecb40c453de9b /gdb/symtab.h
parent1083b3bca3b81b11b4e029746bb8eceed71303f7 (diff)
downloadgdb-507836c0f023b2d251d9924198866db01b8cd09e.zip
gdb-507836c0f023b2d251d9924198866db01b8cd09e.tar.gz
gdb-507836c0f023b2d251d9924198866db01b8cd09e.tar.bz2
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 437c9ea..4a6127f 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