From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Seitz To: Subject: [RFA] Don't ignore UI_OUT for print_insn Date: Tue, 21 Aug 2001 11:38:00 -0000 Message-id: X-SW-Source: 2001-08/msg00249.html Hi, This small patch will honor the given UI_OUT for print_insn, which is currently ignored. Ok? Keith ChangeLog 2001-08-21 Keith Seitz * printcmd.c (print_insn): Use the given stream for output. Patch Index: printcmd.c =================================================================== RCS file: /cvs/src/src/gdb/printcmd.c,v retrieving revision 1.25 diff -u -p -r1.25 printcmd.c --- printcmd.c 2001/08/02 11:58:29 1.25 +++ printcmd.c 2001/08/21 18:37:02 @@ -2441,6 +2441,8 @@ print_insn (CORE_ADDR memaddr, struct ui 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); }