OSDN Git Service

* dbxread.c (read_dbx_symtab): The N_DATA and N_DATA | N_EXT
authorJim Blandy <jimb@codesourcery.com>
Fri, 12 Sep 2003 22:49:25 +0000 (22:49 +0000)
committerJim Blandy <jimb@codesourcery.com>
Fri, 12 Sep 2003 22:49:25 +0000 (22:49 +0000)
commitae55c0bf3c5fb36bd7cb51ebcc1b75f4500b56cf
tree6a1b8d8fffb8a06ee5f2786f7647470b59f85855
parentf05d64e4fe591b39057eb52a80ccaff196cf7568
* 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.
gdb/ChangeLog
gdb/dbxread.c