From: Chia-Hao Lo Date: Fri, 10 Mar 2017 16:29:58 +0000 (+0000) Subject: Make objdump's --wide command line option affect its output of DWARF debug information. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b5d48229b7faa16f69e87fb269f17db0291d89f;hp=8b1e5da10ab58d2aa5eb84bf27de511294f061ef;p=binutils-gdb.git 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 --git a/binutils/ChangeLog b/binutils/ChangeLog index 1abde2a3097..92cadf3a31c 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2017-03-10 Chia-Hao Lo + + PR binutils/21235 + * objdump.c (main): Set do_wide with --wide. + 2017-03-10 Nick Clifton * readelf.c (get_machine_name): Rearrange switch table in order of diff --git a/binutils/objdump.c b/binutils/objdump.c index 4609858f9e3..46b4417b998 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");