summaryrefslogtreecommitdiff
path: root/gdb/stabsread.h
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2015-08-15 16:46:20 -0700
committerDoug Evans <xdje42@gmail.com>2015-08-15 16:46:20 -0700
commit8763cedeec7f0a1daea41c2231bda165652e273b (patch)
tree9ae1bd73d9b1b1883e2664e8e38603d6dcbdbd7f /gdb/stabsread.h
parent51cdc99310171d6c53d2d00103a0ce34374d0b9b (diff)
Add end_psymtab_common, have all debug info readers call it.
gdb/ChangeLog: * dbxread.c (dbx_end_psymtab): Renamed from end_psymtab. All callers updated. Call end_psymtab_common. * dwarf2read.c (process_psymtab_comp_unit_reader): Call end_psymtab_common. (build_type_psymtabs_reader): Ditto. * psympriv.h (sort_pst_symbols): Delete. (end_psymtab_common): Declare. * psymtab.c (sort_pst_symbols): Make static. (end_psymtab_common): New function. * xcoffread.c (xcoff_end_psymtab): Call end_psymtab_common.
Diffstat (limited to 'gdb/stabsread.h')
-rw-r--r--gdb/stabsread.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/gdb/stabsread.h b/gdb/stabsread.h
index dbf5e1de86..65cccd20ad 100644
--- a/gdb/stabsread.h
+++ b/gdb/stabsread.h
@@ -160,16 +160,12 @@ struct stab_section_list
/* Functions exported by dbxread.c. These are not in stabsread.c because
they are only used by some stabs readers. */
-extern struct partial_symtab *end_psymtab (struct objfile *objfile,
- struct partial_symtab *pst,
- const char **include_list,
- int num_includes,
- int capping_symbol_offset,
- CORE_ADDR capping_text,
- struct partial_symtab
- **dependency_list,
- int number_dependencies,
- int textlow_not_set);
+extern struct partial_symtab *dbx_end_psymtab
+ (struct objfile *objfile, struct partial_symtab *pst,
+ const char **include_list, int num_includes,
+ int capping_symbol_offset, CORE_ADDR capping_text,
+ struct partial_symtab **dependency_list, int number_dependencies,
+ int textlow_not_set);
extern void process_one_symbol (int, int, CORE_ADDR, char *,
const struct section_offsets *,