Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: Elena Zannoni <ezannoni@redhat.com>
Cc: fnasser@redhat.com, gdb-patches@sources.redhat.com
Subject: Re: [RFA] cli-out.c new function
Date: Tue, 05 Nov 2002 19:25:00 -0000	[thread overview]
Message-ID: <20021106032636.GC16623@nevyn.them.org> (raw)
In-Reply-To: <15816.21181.748534.54828@localhost.redhat.com>

On Tue, Nov 05, 2002 at 06:22:37PM -0500, Elena Zannoni wrote:
> 
> This function sets the stream of the uiout file to the given
> parameter.  It is used in the interpreter work. Maybe Keith or JimI
> can explain this a bit better, but switching interpreters can change
> the gdb_sdout.
> 
> 
>   /* gdb_stdout could change between the time cli_uiout was initialized
>      and now. Since we're probably using a different interpreter which has
>      a new ui_file for gdb_stdout, use that one instead of the default.
> 
>      It is important that it gets reset everytime, since the user could
>      set gdb to use a different interpreter. */
>   old_stream = cli_out_set_stream (cli_uiout, gdb_stdout);

Something (two things actually) very much like this were discussed and
we never reached agreement on them.  See my patch for a `tee' command
and file redirection; and something similar from Pierre.  A couple of
months ago now.

The current version is kind of hokey, since it only works with the CLI.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


  reply	other threads:[~2002-11-06  3:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-05 15:26 Elena Zannoni
2002-11-05 19:25 ` Daniel Jacobowitz [this message]
2002-11-06  1:08   ` Pierre Muller
2002-11-06 10:16     ` Elena Zannoni
2002-11-06 11:16       ` Elena Zannoni
2002-11-05 23:00 ` Eli Zaretskii
2002-11-06 11:26   ` Elena Zannoni

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=20021106032636.GC16623@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=ezannoni@redhat.com \
    --cc=fnasser@redhat.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