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.
This commit is contained in:
Chia-Hao Lo 2017-03-10 16:29:58 +00:00 committed by Nick Clifton
parent 8b1e5da10a
commit 7b5d48229b
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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");