diff options
author | Jeff Law <law@redhat.com> | 1997-10-22 23:28:30 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1997-10-22 23:28:30 +0000 |
commit | b84b918329af17874b18bea912c07974ed751f10 (patch) | |
tree | 9cb6b2a2c7af1375fa678753ee0f31b3947d9d40 /gdb/dbxread.c | |
parent | 01c655cc4580e3b3ac347917953c39df25d3035e (diff) | |
download | gdb-b84b918329af17874b18bea912c07974ed751f10.zip gdb-b84b918329af17874b18bea912c07974ed751f10.tar.gz gdb-b84b918329af17874b18bea912c07974ed751f10.tar.bz2 |
* mdebugread.c (psymtab_to_symtab_1): Handle new live range stabs
entries.
* dbxread.c: More comment cleanups.
* stabsread.c: Fix various violations of the GNU coding and
formatting standards. Update/add comments to make code clearer.
(resolve_reference): Delete unused function.
(ref_search_val): Remove function. It didn't belong in stabsread.c
(resolve_live_range): No longer returns a value. Do not add it
to the live range list until the entire range stab has been parsed.
(get_substring): Remove duplicate declaration.
(resolve_symbol_reference): Now static. Remove unnecessary code
to deal with cleanups.
(ref_add): Use xrealloc instea of realloc.
(process_reference): Reorganize slightly to make clearer.
* stabsread.h (resolve_symbol_reference): Remove declaration.
(resolve_reference): Likewise.
* symtab.c (find_active_alias): New function.
(lookup_block_symbol): Use find_active_alias.
* symtab.h (struct range_list): Fix dangling struct live_range
reference.
(ref_search_val): Remove decl.
* symtab.h (struct range_list): Renamed from struct live_range.
(struct symbol): Remove struct live_range_info substruct.
Bring the alias list and range list fields up to the toplevel
as "aliases" and "ranges".
(SYMBOL_ALIASES, SYMBOL_RANGES): Corresponding changes.
(SYMBOL_RANGE_START, SYMBOL_RANGE_END, SYMBOL_RANGE_NEXT): Delete.
* stabsread.c: Corresponding changes.
Bring first round of cleanups over from r5900 branch.
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r-- | gdb/dbxread.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c index d7af14f..44f198e 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -2411,10 +2411,6 @@ process_one_symbol (type, desc, valu, name, section_offsets, objfile) char *s; int refnum; - /* If defined, store away a pointer to the symbol; - we'll use it later when we resolve references in - "resolve_symbol_reference". */ - /* If this stab defines a new reference ID that is not on the reference list, then put it on the reference list. |