diff options
author | Nick Clifton <nickc@redhat.com> | 2015-05-15 17:16:31 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-05-15 17:16:31 +0100 |
commit | 0e602686df5677fee06cbd1718b4a7aa5379cd2a (patch) | |
tree | 728d4833b4bb267e64d627bd7982fcddee260ab5 /gdb/sh64-tdep.c | |
parent | 4e63d0ac896b6036edd8e2c09a4dac7aa16a46d1 (diff) | |
download | gdb-0e602686df5677fee06cbd1718b4a7aa5379cd2a.zip gdb-0e602686df5677fee06cbd1718b4a7aa5379cd2a.tar.gz gdb-0e602686df5677fee06cbd1718b4a7aa5379cd2a.tar.bz2 |
Add --decompress option to readelf to decompress sections before they are dumped.
bin * readelf.c (options): Add "decompress".
(usage): Mention -z/--decompress.
(parse_args): Handle -z.
(uncompress_section_contents): Move to earlier in the file.
(dump_section_as_strings): If requested, decompress the section
before dumping.
(dump_section_as_bytes): Likewise.
* doc/binutils.texi: Document the new option.
tests * binutils-all/z.s: New test. Checks the --decompress option to
readelf.
* binutils-all/readelf.exp: Run the test.
* binutils-all/readelf.z: Expected output from readelf.
Diffstat (limited to 'gdb/sh64-tdep.c')
0 files changed, 0 insertions, 0 deletions