Make objdump's --wide command line option affect its output of DWARF debug information.
authorChia-Hao Lo <fcamel@gmail.com>
Fri, 10 Mar 2017 16:29:58 +0000 (16:29 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 10 Mar 2017 16:29:58 +0000 (16:29 +0000)
PR binutils/21235
* objdump.c (main): Set do_wide with --wide.

binutils/ChangeLog
binutils/objdump.c

index 1abde2a30971964ad3beeaf358a456691226fa6a..92cadf3a31cf8e090111decdb5739bfa3fcbfa74 100644 (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
index 4609858f9e38f19db0a812f529edf629496b8ed0..46b4417b998e529029ce43a70f0681c56fadbcb5 100644 (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");