(read_section_stabs_debugging_info): Add $GDB_SYMBOLS$ entry to names[]
authorNick Clifton <nickc@redhat.com>
Thu, 22 Dec 2005 18:11:09 +0000 (18:11 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 22 Dec 2005 18:11:09 +0000 (18:11 +0000)
 array for SOM binaries.

binutils/ChangeLog
binutils/rddbg.c

index de56e9dcaa8e51714ec3ba01c0f89fe588820c14..7807de504634529c987baf298fce4fc28c53ceb2 100644 (file)
@@ -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.
index 48fc5df9f075019f55b3a92d7fbe600e30f86673..e977d8b5ef14000697aac3e76d44497cfbf9e7c3 100644 (file)
@@ -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;