Add new option --show-raw-insn.

* objdump.c (show_raw_insn): New global.
	(usage): Update.
	(long_options): Update.
	(disassemble_data): Set disasm_info.flags if --show-raw-insn.

	* objdump.c (disassemble_data): Set new arch,mach,endian fields in
	disasm_info.
This commit is contained in:
David Edelsohn 1996-01-23 00:50:24 +00:00
parent 049f3d4c75
commit 458bbd1f1e
4 changed files with 37 additions and 3 deletions

View file

@ -972,7 +972,8 @@ objdump [ -a | --archive-headers ]
[ -s | --full-contents ] [ --stabs ]
[ -t | --syms ] [ -T | --dynamic-syms ] [ -x | --all-headers ]
[ -w | --wide ] [ --start-address=@var{address} ]
[ --stop-address=@var{address} ] [ --version ] [ --help ]
[ --stop-address=@var{address} ] [ --show-raw-insn ]
[ --version ] [ --help ]
@var{objfile}@dots{}
@end smallexample
@ -1112,6 +1113,10 @@ Display the full contents of any sections requested.
Display source code intermixed with disassembly, if possible. Implies
@samp{-d}.
@item --show-raw-insn
When disassembling instructions, print the instruction in hex as well as
in symbolic form. Not all targets handle this correctly yet.
@item --stabs
@cindex stab
@cindex .stab