OSDN Git Service

* printcmd.c (print_insn): Use the given stream for
authorkseitz <kseitz>
Tue, 21 Aug 2001 19:25:39 +0000 (19:25 +0000)
committerkseitz <kseitz>
Tue, 21 Aug 2001 19:25:39 +0000 (19:25 +0000)
output.

gdb/ChangeLog
gdb/printcmd.c

index a192c74..7ed9886 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 ca2979b..bd0e28b 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