Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Michael S. Miles" <mmiles@alacritech.com>
To: <Nicolas.Thery@Symbian.com>
Cc: "GDB Mailing List" <gdb@sources.redhat.com>,
	<gdb-owner@sources.redhat.com>
Subject: RE: capture gdb output
Date: Thu, 19 Apr 2001 06:30:00 -0000	[thread overview]
Message-ID: <KIEKJCGPOOADIOGPDJJLCEBNDKAA.mmiles@alacritech.com> (raw)
In-Reply-To: <OF215D0643.6CEA44CA-ON80256A33.00479172@Symbian.com>

Nicolas,

> > I need to be able to capture all the output from my gdb session
> into some
> > type of log file.  It seems like this is a feature that would definitely
> > exist, but I have been searching the sources and documentation for any
> > mention of this capability with no luck.
>

> Isn't sufficient to use  "gdb ... 2>&1 | tee log.txt" ?

I just tried this and it works great!  My colleagues and I thank you so
much!

I would still be interested in whether there is a function in gdb to open or
close a log file during a session?

thanks,
michael miles


  reply	other threads:[~2001-04-19  6:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-19  6:04 Nicolas.Thery
2001-04-19  6:30 ` Michael S. Miles [this message]
2001-04-30  9:25   ` Andrew Cagney
  -- strict thread matches above, loose matches on Subject: below --
2001-04-19  2:57 Unable to step through ARM code using insgiht-5.0 Ahmed A. Agbabiaka
2001-04-19  5:53 ` capture gdb output Michael S. Miles
2001-04-19 13:44   ` Michael Meissner

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=KIEKJCGPOOADIOGPDJJLCEBNDKAA.mmiles@alacritech.com \
    --to=mmiles@alacritech.com \
    --cc=Nicolas.Thery@Symbian.com \
    --cc=gdb-owner@sources.redhat.com \
    --cc=gdb@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