This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH/5.1] (was Re: [RFA] Don't ignore UI_OUT for print_insn)
- To: <gdb-patches at sources dot redhat dot com>
- Subject: [PATCH/5.1] (was Re: [RFA] Don't ignore UI_OUT for print_insn)
- From: Keith Seitz <keiths at cygnus dot com>
- Date: Tue, 18 Sep 2001 08:01:49 -0700 (PDT)
FYI, I've committed this to the 5.1 branch.
Keith
On Tue, 21 Aug 2001, Keith Seitz wrote:
> On Tue, 21 Aug 2001, Andrew Cagney wrote:
>
> > Given GDB is moving to adding explict ui_out/ui_file parameters,
> > honoring the ones that are already there I think is pretty obvious.
> >
> > Yes.
>
> Done. Thanks.
> Keith
>
> On Tue, 21 Aug 2001, Keith Seitz wrote:
>
> > 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);
> > }
> >
> >
> >
>
>