diff options
author | Cary Coutant <ccoutant@google.com> | 2009-02-23 19:01:47 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2009-02-23 19:01:47 +0000 |
commit | 613ff48bcb1fbccc0455d7f499e457acf3fc0c1e (patch) | |
tree | c098764c9e0f1ee73203dec2f8d478c6515b1e50 /binutils/readelf.c | |
parent | 2fb89e62ac5f7fdeb524d9180140bd68e9773db7 (diff) | |
download | gdb-613ff48bcb1fbccc0455d7f499e457acf3fc0c1e.zip gdb-613ff48bcb1fbccc0455d7f499e457acf3fc0c1e.tar.gz gdb-613ff48bcb1fbccc0455d7f499e457acf3fc0c1e.tar.bz2 |
* readelf.c (parse_args): Select all sections explicitly for -w.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c index 8820d92..16aae47 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -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; |