old-cross-binutils/binutils/testsuite/binutils-all
Nick Clifton 09c11c861b * readelf.c (dump_type): New type used to classify the kinds of dump requested by the user.
(dump_sects, cmdline_dump_sects): Use the new type.
  (options): Add --string-dump option.
  (request_dump): Rename to request_dump_bynumber.  Use dump_type.
  (request_dump_byname): Use dump_type.
  (parse_args): Parse --string-dump option.
  (process_section_headers): Fix calls to request_dump.
  (initialise_dumps_byname): Likewise.
  (dump_section): Rename to dump_section_as_bytes.
  (dump_section_as_strings): New function.  Display the contents of a section as printable strings.
  (process_section_contents): String dump the section if requested.
  (process_object): Use dump_type.
  (main): Likewise.
* Makefile.am: Add dependency for readelf.c on safe-ctype.h.
* Makefile.in: Regenerate.
* NEWS: Mention the new feature.
* doc/binutils.texi: Document the new feature.
* testsuite/binutils-all/dumptest.s: New test file.
* testsuite/binutils-all/readelf.exp: Add test of readelf's -p switch.
2007-08-30 13:47:35 +00:00
..
arm
hppa
m68k
vax
windres
alias.def
ar.exp
bintest.s
copy-1.d
copy-1.s
copy-2.d
copy-3.d
copytest.s
dlltool.exp
dumptest.s
empty.s
fastcall.def
group.s
link-order.s
localize-hidden-1.d
localize-hidden-1.s
localize-hidden-2.d
localize-hidden-2.s
needed-by-reloc.s
nm.exp
objcopy.exp
objdump.exp
readelf.exp
readelf.h
readelf.r
readelf.r-64
readelf.s
readelf.s-64
readelf.ss
readelf.ss-64
readelf.ss-mips
readelf.ss-tmips
size.exp
strip-1.d
strip-2.d
strip-3.d
testprog.c
unknown.s