]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[Part of 2003-09-19 change, mistakenly not committed.]
authorJim Blandy <jimb@codesourcery.com>
Fri, 17 Oct 2003 21:44:26 +0000 (21:44 +0000)
committerJim Blandy <jimb@codesourcery.com>
Fri, 17 Oct 2003 21:44:26 +0000 (21:44 +0000)
commit73270cd5fce214a981a064c3995a64266f7256c0
tree96768d66e84218e143f6b2494794f976cddd7ee8
parenta2db2c6f05ab617d327d0a369a8335d8b41251a9
[Part of 2003-09-19 change, mistakenly not committed.]

Merge from mainline:

2003-09-12  Jim Blandy  <jimb@redhat.com>

* dbxread.c (read_dbx_symtab): Don't report an internal error if
the file has no .data, .bss, or .rodata sections.  Instead wait
until we see a variable alleged to live in one of those sections.

2003-09-12  Jim Blandy  <jimb@redhat.com>

* dbxread.c (read_dbx_symtab): If we have no .data section and no
.bss section, presume that any variables we find live in the
.rodata section.

2003-09-12  Jim Blandy  <jimb@redhat.com>

* dbxread.c (read_dbx_symtab): Add FIXME about finding section
offsets for global and static variables.

2003-09-09  Jim Blandy  <jimb@redhat.com>

* dbxread.c (read_dbx_symtab): The N_DATA and N_DATA | N_EXT
symbol types are, by definition, in the .data section, so it is
correct to use SECT_OFF_DATA (objfile) here, not data_sect_index.
If there is no .data section, there should be no N_DATA or N_DATA
| N_EXT symbols.

2003-07-10  Jim Blandy  <jimb@redhat.com>

* Makefile.in (dbxread.o): Note new dependency on $(gdb_assert_h).
* dbxread.c: #include "gdb_assert.h".
(read_dbx_symtab): If the objfile has no .data section, use the
section index for the .bss section instead.
gdb/Makefile.in