diff options
-rw-r--r-- | ChangeLog.csl | 10 | ||||
-rw-r--r-- | gdb/elfread.c | 6 | ||||
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 |
3 files changed, 16 insertions, 6 deletions
diff --git a/ChangeLog.csl b/ChangeLog.csl new file mode 100644 index 0000000..2a12f94 --- /dev/null +++ b/ChangeLog.csl @@ -0,0 +1,10 @@ +2005-03-25 Daniel Jacobowitz <dan@codesourcery.com> + + * gdb/elfread.c (elf_symtab_read): Skip symbols which BFD considers + special. + +2005-03-25 Daniel Jacobowitz <dan@codesourcery.com> + + * gdb/testsuite/lib/mi-support.exp (mi_gdb_load): Use /tmp for + gdbserver downloads. + * gdb/testsuite/config/gdbserver.exp (gdb_load): Likewise. diff --git a/gdb/elfread.c b/gdb/elfread.c index 70a825f..84af084 100644 --- a/gdb/elfread.c +++ b/gdb/elfread.c @@ -203,6 +203,12 @@ elf_symtab_read (struct objfile *objfile, int dynamic) continue; } + /* Skip "special" symbols, e.g. ARM mapping symbols. These are + symbols which do not correspond to objects in the symbol table, + but have some other target-specific meaning. */ + if (bfd_is_target_special_symbol (objfile->obfd, sym)) + continue; + offset = ANOFFSET (objfile->section_offsets, sym->section->index); if (dynamic && sym->section == &bfd_und_section diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 55318f8..b50169e 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,9 +1,3 @@ -2005-03-25 Daniel Jacobowitz <dan@codesourcery.com> - - * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver - downloads. - * config/gdbserver.exp (gdb_load): Likewise. - 2005-03-14 Paul Brook <paul@codesourcery.com> * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote |