* printcmd.c (print_insn): Use the given stream for
authorKeith Seitz <keiths@redhat.com>
Tue, 21 Aug 2001 19:25:40 +0000 (19:25 +0000)
committerKeith Seitz <keiths@redhat.com>
Tue, 21 Aug 2001 19:25:40 +0000 (19:25 +0000)
output.

gdb/ChangeLog
gdb/printcmd.c

index a192c74a11a2306ce4350f7f415bab1cafe24f20..7ed9886b33c67d165cc6dd604fa34786d68c81a7 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-21  Keith Seitz  <keiths@redhat.com>
+
+       * printcmd.c (print_insn): Use the given stream for
+       output.
+
 2001-07-24  Andrew Cagney  <ac131313@redhat.com>
 
        * arm-tdep.c (convert_from_extended, convert_to_extended): Delete
index ca2979be066b258581649610651373af7c12f611..bd0e28bbd22b1d67ff9f3bb7feedf35f053a2546 100644 (file)
@@ -2441,6 +2441,8 @@ print_insn (CORE_ADDR memaddr, struct ui_file *stream)
     TARGET_PRINT_INSN_INFO->mach = TARGET_ARCHITECTURE->mach;
   /* else: should set .mach=0 but some disassemblers don't grok this */
 
+  TARGET_PRINT_INSN_INFO->stream = stream;
+
   return TARGET_PRINT_INSN (memaddr, TARGET_PRINT_INSN_INFO);
 }
 \f