diff options
author | Peter Schauer <Peter.Schauer@mytum.de> | 1995-10-28 11:57:02 +0000 |
---|---|---|
committer | Peter Schauer <Peter.Schauer@mytum.de> | 1995-10-28 11:57:02 +0000 |
commit | b1027aa45879cf41913c12987b4c4db330c1e4d2 (patch) | |
tree | 6fc5fd343b0d50aa72fe0d0ba5d8537c097373c3 /gdb/buildsym.c | |
parent | 356c68ff6291e07f1fa9934036e2884d6a0f19f9 (diff) | |
download | gdb-b1027aa45879cf41913c12987b4c4db330c1e4d2.zip gdb-b1027aa45879cf41913c12987b4c4db330c1e4d2.tar.gz gdb-b1027aa45879cf41913c12987b4c4db330c1e4d2.tar.bz2 |
* symtab.h (enum address_class): Add LOC_UNRESOLVED for
a location whose address has to be resolved via the minimal
symbol table.
* buildsym.c (finish_block), findvar.c (symbol_read_needs_frame,
read_var_value), printcmd.c (address_info),
symmisc.c (print_symbol, print_partial_symbol): Handle
LOC_UNRESOLVED.
* stabsread.c (scan_file_globals): Change unresolved LOC_STATIC
symbols to LOC_UNRESOLVED. Remove rt_common_objfile lookup
kludge, global common symbols are now handled by LOC_UNRESOLVED.
(scan_file_globals_1): Move code back to scan_file_globals,
delete.
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r-- | gdb/buildsym.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c index fab3a37..c9c30b0 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -260,6 +260,7 @@ finish_block (symbol, listhead, old_blocks, start, end, objfile) case LOC_LOCAL_ARG: case LOC_BASEREG: case LOC_BASEREG_ARG: + case LOC_UNRESOLVED: case LOC_OPTIMIZED_OUT: default: break; @@ -295,6 +296,7 @@ finish_block (symbol, listhead, old_blocks, start, end, objfile) case LOC_LOCAL_ARG: case LOC_BASEREG: case LOC_BASEREG_ARG: + case LOC_UNRESOLVED: case LOC_OPTIMIZED_OUT: default: break; |