From: Keith Seitz Date: Tue, 21 Aug 2001 19:25:40 +0000 (+0000) Subject: * printcmd.c (print_insn): Use the given stream for X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=99a6d8ba226aed00793450affa72a44c9580ad45;p=binutils-gdb.git * printcmd.c (print_insn): Use the given stream for output. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a192c74a11a..7ed9886b33c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-08-21 Keith Seitz + + * printcmd.c (print_insn): Use the given stream for + output. + 2001-07-24 Andrew Cagney * arm-tdep.c (convert_from_extended, convert_to_extended): Delete 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); }