OSDN Git Service

Elena Zannoni <ezannoni@kwikemart.cygnus.com>
authorezannoni <ezannoni>
Thu, 4 May 2000 16:52:33 +0000 (16:52 +0000)
committerezannoni <ezannoni>
Thu, 4 May 2000 16:52:33 +0000 (16:52 +0000)
commit73a8f35a0b2516d7ac8a19e111fe3006a9d27df0
tree2dfb102a7693ac8ae77a27758f4783b72a1adc93
parent07c44120908389df6951779b11220bbb34254e4e
Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * objfiles.h (SECT_OFF_DATA, SECT_OFF_TEXT, SECT_OFF_BSS,
        SECT_OFF_RODATA): Define as functions of OBJFILE.  Add
        sect_index_text, sect_index_data, sect_index_rodata,
        sect_index_bss to objfile structure.
        * gdb-stabs.h (SECT_OFF_DATA, SECT_OFF_TEXT, SECT_OFF_BSS,
        SECT_OFF_RODATA): Remove.
        * objfiles.c (allocate_objfile): Initialize
        sect_index_{text,data,bss,rodata} to -1, for error detection.

        * symfile.c (default_symfile_offsets): Initialize
        sect_index_{text,data,bss,rodata} from bfd information.
        * xcoffread.c (xcoff_symfile_offsets): Ditto.
        * somread.c (som_symfile_offsets): Initialize
        sect_index_{text,data,bss,rodata}.

        * coffread.c, dbxread.c, elfread.c, hp-psymtab-read.c,
        hp-symtab-read.c, hpread.c, mdebugread.c, minsyms.c,
        mipsread.c, objfiles.c, os9kread.c, pa64solib.c, partial-stab.h,
        remote-os9k.c, remote-vx.c, remote.c, rs6000-nat.c, somsolib.c,
        stabsread.c, symfile.c, xcoffread.c:
        Update use of SECT_OFF_{TEXT,DATA,BSS,RODATA} to depend on the
        current objfile.

        * xcoffread.c: Add new field objfile to find_targ_sec_arg.
25 files changed:
gdb/ChangeLog
gdb/coffread.c
gdb/dbxread.c
gdb/elfread.c
gdb/gdb-stabs.h
gdb/hp-psymtab-read.c
gdb/hp-symtab-read.c
gdb/hpread.c
gdb/mdebugread.c
gdb/minsyms.c
gdb/mipsread.c
gdb/objfiles.c
gdb/objfiles.h
gdb/os9kread.c
gdb/pa64solib.c
gdb/partial-stab.h
gdb/remote-os9k.c
gdb/remote-vx.c
gdb/remote.c
gdb/rs6000-nat.c
gdb/somread.c
gdb/somsolib.c
gdb/stabsread.c
gdb/symfile.c
gdb/xcoffread.c