public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Burgess <aburgess@redhat.com>
To: hilbert <swdtian@163.com>, gdb@sourceware.org
Subject: Re: [question] How to output logs
Date: Mon, 15 Aug 2022 12:15:15 +0100	[thread overview]
Message-ID: <87k079zrjw.fsf@redhat.com> (raw)
In-Reply-To: <3d259367.8ad1.182a0ab6aef.Coremail.swdtian@163.com>

hilbert via Gdb <gdb@sourceware.org> writes:

> Can log information be output like other projects? I don't see the relevant parameters.
> This will make it easier to read the source code.
> I don't see the relevant configuration options.

Maybe the 'set debug ....' options are what you're looking for?  These
are all mentioned in the manual, but they are mostly scattered
throughout and don't have a section of their own.

You can use 'set logging file ....' and 'set logging enabled on' to have
GDB record its output to a logfile if that helps too.

Thanks,
Andrew


      reply	other threads:[~2022-08-15 11:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-15  8:42 hilbert
2022-08-15 11:15 ` Andrew Burgess [this message]

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=87k079zrjw.fsf@redhat.com \
    --to=aburgess@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=swdtian@163.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).