aboutsummaryrefslogtreecommitdiff
path: root/gdb/printcmd.c
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2001-08-21 19:25:40 +0000
committerKeith Seitz <keiths@redhat.com>2001-08-21 19:25:40 +0000
commit99a6d8ba226aed00793450affa72a44c9580ad45 (patch)
treea316fe784d1d56cb82c68b539d644bd348de7305 /gdb/printcmd.c
parent453abe317105d26684fce811f58609bf2b4dbccb (diff)
downloadgdb-99a6d8ba226aed00793450affa72a44c9580ad45.zip
gdb-99a6d8ba226aed00793450affa72a44c9580ad45.tar.gz
gdb-99a6d8ba226aed00793450affa72a44c9580ad45.tar.bz2
* printcmd.c (print_insn): Use the given stream for
output.
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r--gdb/printcmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index ca2979b..bd0e28b 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);
}