* readelf.c (parse_args): Select all sections explicitly for -w.
authorCary Coutant <ccoutant@google.com>
Mon, 23 Feb 2009 19:01:47 +0000 (19:01 +0000)
committerCary Coutant <ccoutant@google.com>
Mon, 23 Feb 2009 19:01:47 +0000 (19:01 +0000)
binutils/ChangeLog
binutils/readelf.c

index 18a0e99181c2f477d08fa2643cd660b8cccbf48a..0a2b91be16950f374bae6041e541e3a1ade28ff4 100644 (file)
@@ -1,3 +1,7 @@
+2009-02-23  Cary Coutant <ccoutant@google.com>
+
+       * readelf.c (parse_args): Select all sections explicitly for -w.
+
 2009-02-09  Kai Tietz  <kai.tietz@onevision.com>
 
        * windres.c (set_endianess): Copy name without leading '-'.
index 8820d92302b2bbb523836dade440b079c83c5c63..16aae4772562812e402e1804a36a9bd3848c7dba 100644 (file)
@@ -3037,7 +3037,10 @@ parse_args (int argc, char **argv)
        case 'w':
          do_dump++;
          if (optarg == 0)
-           do_debugging = 1;
+           {
+             do_debugging = 1;
+             dwarf_select_sections_all ();
+           }
          else
            {
              do_debugging = 0;