diff options
author | Keith Seitz <keiths@redhat.com> | 2001-08-21 19:25:40 +0000 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2001-08-21 19:25:40 +0000 |
commit | 35f9d51c1607f5e7b2b466f955800db94b6024b2 (patch) | |
tree | 216cf2a01d0223a040a925f4227ebb0549e584c8 /gdb/printcmd.c | |
parent | 7c3e28e52a785aa9ca2363e9bb6bcb45d4046652 (diff) | |
download | gdb-35f9d51c1607f5e7b2b466f955800db94b6024b2.tar.gz |
* printcmd.c (print_insn): Use the given stream for
output.
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r-- | gdb/printcmd.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |