This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb symfile.c mdebugread.c
- From: brobecke at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 22 Apr 2002 10:19:36 -0000
- Subject: src/gdb symfile.c mdebugread.c
CVSROOT: /cvs/src
Module name: src
Changes by: brobecke@sources.redhat.com 2002-04-22 03:19:36
Modified files:
gdb : symfile.c mdebugread.c
Log message:
* symfile.h (get_section_index): Define.
* symfile.c (get_section_index): New function.
* mdebugread.c (SC_IS_SBSS): New macro.
(SC_IS_BSS): Return true for the scBss storage class only, as
the scSBss storage class refers to the .sbss section.
(parse_partial_symbols): Discard the symbols which associated
section does not exist.
Make sure to use the .sbss section index for symbols which
storage class is scBss, rather than using the .bss section index.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/symfile.c.diff?cvsroot=src&r1=1.58&r2=1.59
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/mdebugread.c.diff?cvsroot=src&r1=1.24&r2=1.25