aboutsummaryrefslogtreecommitdiff
path: root/binutils/objdump.c
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2008-08-28 16:05:03 +0000
committerTristan Gingold <gingold@adacore.com>2008-08-28 16:05:03 +0000
commit62bb81b87bb66277c30eae45e3e9f3ae6a8d1922 (patch)
tree4e0ded07cdb2060c62c642897800f2d2a06b458b /binutils/objdump.c
parentaf11f592a854dbc78b148100403812a539c95fd6 (diff)
downloadgdb-62bb81b87bb66277c30eae45e3e9f3ae6a8d1922.zip
gdb-62bb81b87bb66277c30eae45e3e9f3ae6a8d1922.tar.gz
gdb-62bb81b87bb66277c30eae45e3e9f3ae6a8d1922.tar.bz2
2008-08-28 Tristan Gingold <gingold@adacore.com>
* objdump.c (dump_stabs): Add sections for Darwin.
Diffstat (limited to 'binutils/objdump.c')
-rw-r--r--binutils/objdump.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c
index d4c32c0..5fad8dd 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -2474,6 +2474,10 @@ dump_stabs (bfd *abfd)
dump_stabs_section (abfd, ".stab", ".stabstr");
dump_stabs_section (abfd, ".stab.excl", ".stab.exclstr");
dump_stabs_section (abfd, ".stab.index", ".stab.indexstr");
+
+ /* For Darwin. */
+ dump_stabs_section (abfd, "LC_SYMTAB.stabs", "LC_SYMTAB.stabstr");
+
dump_stabs_section (abfd, "$GDB_SYMBOLS$", "$GDB_STRINGS$");
}