aboutsummaryrefslogtreecommitdiff
path: root/gdb/mdebugread.c
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>1995-09-23 11:09:52 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>1995-09-23 11:09:52 +0000
commitdf1e1074deec91dcc04ede90335fdc4eac8dcb04 (patch)
tree1efb97f58edab0801c758453ae7bc3498ada6621 /gdb/mdebugread.c
parent138b9b81e3d71df0b74027692a86db239d5ee08e (diff)
downloadgdb-df1e1074deec91dcc04ede90335fdc4eac8dcb04.zip
gdb-df1e1074deec91dcc04ede90335fdc4eac8dcb04.tar.gz
gdb-df1e1074deec91dcc04ede90335fdc4eac8dcb04.tar.bz2
* mdebugread.c (parse_partial_symbols): Reset includes_used
and dependencies_used after finishing the partial symbol table. * rs6000-nat.c (xcoff_relocate_core): Don't relocate data addresses for the main objfile if DONT_RELOCATE_SYMFILE_OBJFILE is defined. * xcoffread.c: gcc -Wall lint. Remove traceback table reading code. The existing code tried to add parameter information for functions compiled without -g, which cannot be done properly for optimized code and produced misleading parameter displays. (ef_complaint, eb_complaint): Make a local static copy to avoid dependency on coffread.c. (read_xcoff_symtab, process_xcoff_symbol, scan_xcoff_symtab): Enter C_EXT/C_HIDEXT symbols into the minimal symbol table only. (read_xcoff_symtab): Ignore C_STAT section auxiliary entry symbols. Complain about unmatched .ef and .eb symbols instead of segfaulting. (process_xcoff_symbol): Determine value of C_GSYM symbols via the global_sym_chain mechanism in stabsread.c. (xcoff_new_init): Call stabsread_new_init and buildsym_new_init. (init_string_tab): Initialize length field bytes in the strtbl. (scan_xcoff_symtab): Skip symbols that start with `$' or `.$'. Set first_fun_line_offset for symbols with two auxents only.
Diffstat (limited to 'gdb/mdebugread.c')
-rw-r--r--gdb/mdebugread.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c
index 4a1ca9a5..89d9d9e 100644
--- a/gdb/mdebugread.c
+++ b/gdb/mdebugread.c
@@ -2922,6 +2922,9 @@ parse_partial_symbols (objfile, section_offsets)
psymtab_include_list, includes_used,
-1, save_pst->texthigh,
dependency_list, dependencies_used);
+ includes_used = 0;
+ dependencies_used = 0;
+
if (objfile->ei.entry_point >= save_pst->textlow &&
objfile->ei.entry_point < save_pst->texthigh)
{