Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@cygnus.com>
To: <gdb-patches@sources.redhat.com>
Subject: [RFA] Don't ignore UI_OUT for print_insn
Date: Tue, 21 Aug 2001 11:38:00 -0000	[thread overview]
Message-ID: <Pine.GSO.4.33.0108211137000.21831-100000@makita.cygnus.com> (raw)

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  <keiths@redhat.com>

	* 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);
 }



             reply	other threads:[~2001-08-21 11:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-21 11:38 Keith Seitz [this message]
2001-08-21 12:22 ` Andrew Cagney
2001-08-21 12:25 ` Keith Seitz
2001-09-18  8:01   ` [PATCH/5.1] (was Re: [RFA] Don't ignore UI_OUT for print_insn) Keith Seitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GSO.4.33.0108211137000.21831-100000@makita.cygnus.com \
    --to=keiths@cygnus.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox