OSDN Git Service

* symfile.h (get_section_index): Define.
authorJoel Brobecker <brobecker@gnat.com>
Mon, 22 Apr 2002 10:19:35 +0000 (10:19 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Mon, 22 Apr 2002 10:19:35 +0000 (10:19 +0000)
commitcaeaf020b0b07aa86c42636a068c893f202aaa4f
tree7157bf82dc10c76601772cb50eb871e6ea6006c4
parent237a091550fb03a9d72509101ab0a2e6bd954611
    * 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.
gdb/mdebugread.c
gdb/symfile.c