diff options
author | Tom Tromey <tromey@redhat.com> | 2011-04-28 17:23:17 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-04-28 17:23:17 +0000 |
commit | fd2f003344354839663892f45f831a2dbfb71f17 (patch) | |
tree | 437ab6acaf1927f35da633fa05bb0c55fef8e09d /binutils/testsuite | |
parent | 82ae827f9b172b560568b814719b0cf0e56d0375 (diff) | |
download | gdb-fd2f003344354839663892f45f831a2dbfb71f17.zip gdb-fd2f003344354839663892f45f831a2dbfb71f17.tar.gz gdb-fd2f003344354839663892f45f831a2dbfb71f17.tar.bz2 |
* NEWS: Add note about --dwarf-depth, --dwarf-start, and
dwarf-mode.el.
* objdump.c (suppress_bfd_header): New global.
(usage): Update.
(OPTION_DWARF_DEPTH, OPTION_DWARF_START): New constants.
(options): Add dwarf-depth and dwarf-start entries.
(dump_bfd): Use suppress_bfd_header.
(main): Handle OPTION_DWARF_START, OPTION_DWARF_DEPTH.
* doc/binutils.texi (objcopy): Document --dwarf-depth and
--dwarf-start.
(readelf): Likewise.
* dwarf-mode.el: New file.
* dwarf.c (dwarf_cutoff_level, dwarf_start_die): New globals.
(read_and_display_attr_value): Also check debug_info_p.
(process_debug_info): Handle dwarf_start_die and
dwarf_cutoff_level.
* dwarf.h (dwarf_cutoff_level, dwarf_start_die): Declare.
* readelf.c (usage): Update.
(OPTION_DWARF_DEPTH): New macro.
(OPTION_DWARF_START): Likewise.
(options): Add dwarf-depth and dwarf-start entries.
(parse_args): Handle OPTION_DWARF_START and OPTION_DWARF_DEPTH.
testsuite
* binutils-all/objdump.W: Correct output.
Diffstat (limited to 'binutils/testsuite')
-rw-r--r-- | binutils/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/objdump.W | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index fb9ad82..816ce95 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2011-04-28 Tom Tromey <tromey@redhat.com> + + * binutils-all/objdump.W: Correct output. + 011-04-11 Kai Tietz * binutils-all/windres/windres.exp: Add '// cpparg <option>' command diff --git a/binutils/testsuite/binutils-all/objdump.W b/binutils/testsuite/binutils-all/objdump.W index 0197647..5b58fb4 100644 --- a/binutils/testsuite/binutils-all/objdump.W +++ b/binutils/testsuite/binutils-all/objdump.W @@ -9,7 +9,7 @@ Contents of the .debug_info section: Abbrev Offset: 0 Pointer Size: 4 <0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\) - < c> DW_AT_stmt_list : 0x0 + <c> DW_AT_stmt_list : 0x0 <10> DW_AT_high_pc : 0x. <14> DW_AT_low_pc : 0x. <18> DW_AT_name : file1.txt |