diff options
author | Doug Evans <xdje42@gmail.com> | 2015-08-15 16:46:20 -0700 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2015-08-15 16:46:20 -0700 |
commit | 8763cedeec7f0a1daea41c2231bda165652e273b (patch) | |
tree | 9ae1bd73d9b1b1883e2664e8e38603d6dcbdbd7f /gdb/symtab.h | |
parent | 51cdc99310171d6c53d2d00103a0ce34374d0b9b (diff) | |
download | gdb-8763cedeec7f0a1daea41c2231bda165652e273b.zip gdb-8763cedeec7f0a1daea41c2231bda165652e273b.tar.gz gdb-8763cedeec7f0a1daea41c2231bda165652e273b.tar.bz2 |
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/symtab.h')
-rw-r--r-- | gdb/symtab.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index 0109b96..e67151f 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -340,7 +340,7 @@ struct minimal_symbol struct general_symbol_info mginfo; - /* Size of this symbol. end_psymtab in dbxread.c uses this + /* Size of this symbol. dbx_end_psymtab in dbxread.c uses this information to calculate the end of the partial symtab based on the address of the last symbol plus the size of the last symbol. */ |