Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: tromey@redhat.com
Cc: gdb-patches@sources.redhat.com
Subject: Re: Start of `>' and `>>' commands
Date: Wed, 10 Oct 2001 14:29:00 -0000	[thread overview]
Message-ID: <3BC4BDAA.8050807@cygnus.com> (raw)
In-Reply-To: <87zo75egqa.fsf@creche.redhat.com>

> +/* If we've pushed output files, close them and pop them.  */
> +static void
> +pop_output_files ()
> +{
> +  if (saved_stdout != NULL)
> +    {
> +      /* Only delete one of the files -- they are all set to the same
> +	 value.  */
> +      ui_file_delete (gdb_stdout);
> +      gdb_stdout = saved_stdout;
> +      gdb_stderr = saved_stderr;
> +      gdb_stdlog = saved_stdlog;
> +      gdb_stdtarg = saved_stdtarg;
> +      saved_stdout = NULL;
> +      saved_stderr = NULL;
> +      saved_stdlog = NULL;
> +      saved_stdtarg = NULL;
> +    }
> +}


For what it is worth, this sort of thing is certainly on the right track.

Andrew



  reply	other threads:[~2001-10-10 14:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-05 17:35 Tom Tromey
2001-10-10 14:29 ` Andrew Cagney [this message]
2001-10-12 14:01 ` Grant Edwards

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=3BC4BDAA.8050807@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=tromey@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