This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Make objdump's --wide command line option affect its output of DWARF debug information.
- From: Nick Clifton <nickc at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 10 Mar 2017 16:30:42 -0000
- Subject: [binutils-gdb] Make objdump's --wide command line option affect its output of DWARF debug information.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7b5d48229b7faa16f69e87fb269f17db0291d89f
commit 7b5d48229b7faa16f69e87fb269f17db0291d89f
Author: Chia-Hao Lo <fcamel@gmail.com>
Date: Fri Mar 10 16:29:58 2017 +0000
Make objdump's --wide command line option affect its output of DWARF debug information.
PR binutils/21235
* objdump.c (main): Set do_wide with --wide.
Diff:
---
binutils/ChangeLog | 5 +++++
binutils/objdump.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 1abde2a..92cadf3 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2017-03-10 Chia-Hao Lo <fcamel@gmail.com>
+
+ PR binutils/21235
+ * objdump.c (main): Set do_wide with --wide.
+
2017-03-10 Nick Clifton <nickc@redhat.com>
* readelf.c (get_machine_name): Rearrange switch table in order of
diff --git a/binutils/objdump.c b/binutils/objdump.c
index 4609858..46b4417 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -3766,7 +3766,7 @@ main (int argc, char **argv)
}
break;
case 'w':
- wide_output = TRUE;
+ do_wide = wide_output = TRUE;
break;
case OPTION_ADJUST_VMA:
adjust_section_vma = parse_vma (optarg, "--adjust-vma");