summaryrefslogtreecommitdiff
path: root/binutils/rddbg.c
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
commite583e3f38c3c6d7f94cad1c8c0983548199ced8e (patch)
tree678978b8d150e4a588c73cc2783218b456814be5 /binutils/rddbg.c
parent48c0d9b618cd020566220ea7a573204f2c016aad (diff)
downloadbinutils-redhat-e583e3f38c3c6d7f94cad1c8c0983548199ced8e.tar.gz
(read_section_stabs_debugging_info): Add $GDB_SYMBOLS$ entry to names[]
array for SOM binaries.
Diffstat (limited to 'binutils/rddbg.c')
-rw-r--r--binutils/rddbg.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/binutils/rddbg.c b/binutils/rddbg.c
index 48fc5df9f0..e977d8b5ef 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;