* gdbtk.c (gdb_disassemble): Store endian-ness in `di'.
This commit is contained in:
parent
d9263d5fc5
commit
e4bb902716
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
start-sanitize-gdbtk
|
||||
Mon Apr 21 14:00:08 1997 Doug Evans <dje@canuck.cygnus.com>
|
||||
|
||||
* gdbtk.c (gdb_disassemble): Store endian-ness in `di'.
|
||||
|
||||
end-sanitize-gdbtk
|
||||
Mon Apr 21 09:49:25 1997 Stu Grossman (grossman@critters.cygnus.com)
|
||||
|
||||
* remote-pa.c: Remove. It's broken and no longer necessary.
|
||||
|
|
|
@ -974,9 +974,9 @@ gdb_disassemble (clientData, interp, argc, argv)
|
|||
|
||||
di.mach = tm_print_insn_info.mach;
|
||||
if (TARGET_BYTE_ORDER == BIG_ENDIAN)
|
||||
tm_print_insn_info.endian = BFD_ENDIAN_BIG;
|
||||
di.endian = BFD_ENDIAN_BIG;
|
||||
else
|
||||
tm_print_insn_info.endian = BFD_ENDIAN_LITTLE;
|
||||
di.endian = BFD_ENDIAN_LITTLE;
|
||||
|
||||
if (argc != 3 && argc != 4)
|
||||
error ("wrong # args");
|
||||
|
|
Loading…
Reference in a new issue