aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-12-22 18:11:09 +0000
committerNick Clifton <nickc@redhat.com>2005-12-22 18:11:09 +0000
commit7806762e81b7e010282cb3022441a80443d07d27 (patch)
treeb44d4a8cf795e2c5e6a403afedd9647515f9d926
parentecc49060c66f6bbc36faa744dc49016832119176 (diff)
downloadfsf-binutils-gdb-7806762e81b7e010282cb3022441a80443d07d27.zip
fsf-binutils-gdb-7806762e81b7e010282cb3022441a80443d07d27.tar.gz
fsf-binutils-gdb-7806762e81b7e010282cb3022441a80443d07d27.tar.bz2
(read_section_stabs_debugging_info): Add $GDB_SYMBOLS$ entry to names[]
array for SOM binaries.
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/rddbg.c11
2 files changed, 13 insertions, 3 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index de56e9d..7807de5 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2005-12-22 Randolph Chung <randolph@tausq.org>
+
+ * rddbg.c (read_section_stabs_debugging_info): Add $GDB_SYMBOLS$
+ entry to names[] array for SOM binaries.
+
2005-12-21 H.J. Lu <hjl@gnu.org>
* MAINTAINERS: Add myself as x86_64 maintainer.
diff --git a/binutils/rddbg.c b/binutils/rddbg.c
index 48fc5df..e977d8b 100644
--- a/binutils/rddbg.c
+++ b/binutils/rddbg.c
@@ -1,5 +1,5 @@
/* rddbg.c -- Read debugging information into a generic form.
- Copyright 1995, 1996, 1997, 2000, 2002, 2003
+ Copyright 1995, 1996, 1997, 2000, 2002, 2003, 2005
Free Software Foundation, Inc.
Written by Ian Lance Taylor <ian@cygnus.com>.
@@ -100,8 +100,13 @@ read_section_stabs_debugging_info (bfd *abfd, asymbol **syms, long symcount,
{
const char *secname;
const char *strsecname;
- } names[] = { { ".stab", ".stabstr" },
- { "LC_SYMTAB.stabs", "LC_SYMTAB.stabstr" } };
+ }
+ names[] =
+ {
+ { ".stab", ".stabstr" },
+ { "LC_SYMTAB.stabs", "LC_SYMTAB.stabstr" },
+ { "$GDB_SYMBOLS$", "$GDB_STRINGS$" }
+ };
unsigned int i;
void *shandle;