This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[rfa] Handle stabs sections for SOM


On SOM (HPUX 32-bit binary format), the stabs debug sections emitted by
gcc are named $GDB_SYMBOLS$ and $GDB_STRINGS$. This patch lets binutils
understand this so that "objdump -G" works.

pls checkin if ok.

randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
2005-12-05  Randolph Chung  <tausq@debian.org>

        * rddbg.c (read_section_stabs_debugging_info): Look in $GDB_SYMBOLS$
        and $GDB_STRINGS$ for stabs info (for SOM).

Index: rddbg.c
===================================================================
RCS file: /cvs/src/src/binutils/rddbg.c,v
retrieving revision 1.10
diff -u -p -r1.10 rddbg.c
--- rddbg.c     8 May 2005 14:17:39 -0000       1.10
+++ rddbg.c     5 Dec 2005 01:54:29 -0000
@@ -101,7 +101,8 @@ read_section_stabs_debugging_info (bfd *
       const char *secname;
       const char *strsecname;
     } names[] = { { ".stab", ".stabstr" },
-                 { "LC_SYMTAB.stabs", "LC_SYMTAB.stabstr" } };
+                 { "LC_SYMTAB.stabs", "LC_SYMTAB.stabstr" },
+                 { "$GDB_SYMBOLS$", "$GDB_STRINGS$" } };
   unsigned int i;
   void *shandle;



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]