diff options
author | Keith Seitz <keiths@redhat.com> | 2001-09-18 14:59:39 +0000 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2001-09-18 14:59:39 +0000 |
commit | a87d7732a8cc67be6f6b940aa442a0638f746d15 (patch) | |
tree | 6573960084d2c4f3fd7aaa974dc49e89b481b476 | |
parent | f8cd90fb9c85d9de1799b24553855d8db3b2095b (diff) | |
download | fsf-binutils-gdb-a87d7732a8cc67be6f6b940aa442a0638f746d15.zip fsf-binutils-gdb-a87d7732a8cc67be6f6b940aa442a0638f746d15.tar.gz fsf-binutils-gdb-a87d7732a8cc67be6f6b940aa442a0638f746d15.tar.bz2 |
* printcmd.c (print_insn): Use the given stream for
output.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/printcmd.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index aedc944..9b94127 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-09-18 Keith Seitz <keiths@redhat.com> + + * 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 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); } |