From e4bb90271600b757264581fa80c3a4884f9abc8c Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Mon, 21 Apr 1997 21:01:28 +0000 Subject: * gdbtk.c (gdb_disassemble): Store endian-ness in `di'. --- gdb/gdbtk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/gdbtk.c') diff --git a/gdb/gdbtk.c b/gdb/gdbtk.c index 7fab1fd..fc2b0de 100644 --- a/gdb/gdbtk.c +++ b/gdb/gdbtk.c @@ -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"); -- cgit v1.1