From: Cary Coutant Date: Mon, 23 Feb 2009 19:01:47 +0000 (+0000) Subject: * readelf.c (parse_args): Select all sections explicitly for -w. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=613ff48bcb1fbccc0455d7f499e457acf3fc0c1e;p=binutils-gdb.git * readelf.c (parse_args): Select all sections explicitly for -w. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 18a0e99181c..0a2b91be169 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2009-02-23 Cary Coutant + + * readelf.c (parse_args): Select all sections explicitly for -w. + 2009-02-09 Kai Tietz * windres.c (set_endianess): Copy name without leading '-'. diff --git a/binutils/readelf.c b/binutils/readelf.c index 8820d92302b..16aae477256 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;