OSDN Git Service

* symfile.h (get_section_index): Define.
authorbrobecke <brobecke>
Mon, 22 Apr 2002 10:19:35 +0000 (10:19 +0000)
committerbrobecke <brobecke>
Mon, 22 Apr 2002 10:19:35 +0000 (10:19 +0000)
commit39b8eaa44e79f8bc8b11e7c248a861d611a7613f
tree2fd95a9035b5e080971444ade3463f85f159cba5
parent3fbe3858cd050bc485a2b539e8bd946764f28260
    * 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