OSDN Git Service

2000-08-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
authorezannoni <ezannoni>
Mon, 7 Aug 2000 15:02:48 +0000 (15:02 +0000)
committerezannoni <ezannoni>
Mon, 7 Aug 2000 15:02:48 +0000 (15:02 +0000)
commite6711099273719aca46c16b9219b9f2195e2c425
treedf93ee6abd5c5a76c9139d6c766a7efb126ddd04
parent0f4d5bb4d72d71625274cc2ecc5f536a982a81f1
2000-08-07  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* objfiles.h (SECT_OFF_BSS): Don't detect invalid sect_index_bss
  here, let the users of the macro do it.
* symtab.h (ANOFFSET): Detect here if the section index is not
  initialized.
* xcoffread.c (find_targ_sec): Don't treat .bss as special,
  because some objfiles may not have that section at all.
* coffread.c (cs_to_section): Ditto.
* elfread.c (elf_symtab_read): Detect an uninitialized index
  value.
(elfstab_offset_sections): The macro ANOFFSET cannot be used as an
  lvalue anymore.
* remote.c (get_offsets, remote_cisco_objfile_relocate): Don't use
  ANOFFSET as an lvalue.
* objfiles.c (objfile_relocate, objfile_relocate): Don't use
  ANOFFSET as an lvalue.
* symfile.c (default_symfile_offsets): Don't use ANOFFSET as an
  lvalue.
gdb/ChangeLog
gdb/coffread.c
gdb/elfread.c
gdb/objfiles.c
gdb/objfiles.h
gdb/remote.c
gdb/symfile.c
gdb/symtab.h