* gdbtk.c (gdb_disassemble): Store endian-ness in `di'.
authorDavid Edelsohn <dje.gcc@gmail.com>
Mon, 21 Apr 1997 21:01:28 +0000 (21:01 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Mon, 21 Apr 1997 21:01:28 +0000 (21:01 +0000)
gdb/ChangeLog
gdb/gdbtk.c

index b45e0c254e0c5b43f008df4f1db1fe1e96789b11..67702c69bb5d30d93e96ec5c8fb54546e96e5128 100644 (file)
@@ -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.
index 7fab1fd8427394418d7d1b99253f083d6dc7f5ba..fc2b0deca1c77a317f7a3da41271720068535748 100644 (file)
@@ -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");