diff options
author | Daniel Jacobowitz <drow@false.org> | 2005-03-25 20:52:20 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2005-03-25 20:52:20 +0000 |
commit | e9a92334131522706d37479c77167d28a71e33fa (patch) | |
tree | c4c4691ff5f3a0a429242fbf9ee79e08702a386c /gdb | |
parent | 8f4f3fc7b1969402ab8dfa8fea46f5e73149c188 (diff) | |
download | binutils-e9a92334131522706d37479c77167d28a71e33fa.zip binutils-e9a92334131522706d37479c77167d28a71e33fa.tar.gz binutils-e9a92334131522706d37479c77167d28a71e33fa.tar.bz2 |
* gdb/elfread.c (elf_symtab_read): Skip symbols which BFD considers
special.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/elfread.c | 6 | ||||
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 |
2 files changed, 6 insertions, 6 deletions
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 |