aboutsummaryrefslogtreecommitdiff
path: root/gdb/stabsread.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1997-10-22 23:28:30 +0000
committerJeff Law <law@redhat.com>1997-10-22 23:28:30 +0000
commitb84b918329af17874b18bea912c07974ed751f10 (patch)
tree9cb6b2a2c7af1375fa678753ee0f31b3947d9d40 /gdb/stabsread.h
parent01c655cc4580e3b3ac347917953c39df25d3035e (diff)
downloadgdb-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/stabsread.h')
-rw-r--r--gdb/stabsread.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/stabsread.h b/gdb/stabsread.h
index 7561726..77ea291 100644
--- a/gdb/stabsread.h
+++ b/gdb/stabsread.h
@@ -243,11 +243,6 @@ extern void ref_add PARAMS ((int, struct symbol *, char *, CORE_ADDR));
extern struct symbol * ref_search PARAMS ((int));
-extern struct symbol * resolve_reference PARAMS ((char *p));
-
-extern int resolve_symbol_reference
- PARAMS ((struct objfile * objfile, struct symbol * sym, char * p));
-
extern int resolve_cfront_continuation
PARAMS ((struct objfile * objfile, struct symbol * sym, char * p));