From a87d7732a8cc67be6f6b940aa442a0638f746d15 Mon Sep 17 00:00:00 2001 From: Keith Seitz Date: Tue, 18 Sep 2001 14:59:39 +0000 Subject: [PATCH] * printcmd.c (print_insn): Use the given stream for output. --- gdb/ChangeLog | 5 +++++ gdb/printcmd.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index aedc944a3a8..9b9412772e2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-09-18 Keith Seitz + + * printcmd.c (print_insn): Use the given stream for + output. + 2001-09-10 Jason Molenda (jmolenda@apple.com) * NEWS: "ANS/ISO C" -> "ISO C". diff --git a/gdb/printcmd.c b/gdb/printcmd.c index ca2979be066..bd0e28bbd22 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -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); }