Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Abhijit Halder <abhijit.k.halder@gmail.com>
To: gdb-patches@sourceware.org
Subject: GDB session logging
Date: Tue, 13 Sep 2011 14:37:00 -0000	[thread overview]
Message-ID: <CAOhZP9y16xfMv-my93xG-0h_mekZV7iWzjbQS8EOiFyy=GYTKA@mail.gmail.com> (raw)

Hi,

I can see that by using the following GDB commands I can enable logging:
(gdb) set logging file gdb-session.log
(gdb) set logging on

My concern here is that the file gdb-session.log contains only the
command output and not the command itself. After I complete my
debugging if I want to create a debug report out of my session log I
cannot do that as most of the output does not make sense to me. I
cannot remember which output of which command and in which context. I
believe we should log the command as well along with the command
output. There should be provision for logging only the command (along
with any error thrown by the command) and not the output of that
command.

Thanks,
Abhijit Halder


             reply	other threads:[~2011-09-13 14:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-13 14:37 Abhijit Halder [this message]
2011-09-14 17:48 ` [PATCH] " Abhijit Halder
2011-09-15  6:30   ` Pedro Alves
2011-09-15 11:55     ` Abhijit Halder

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='CAOhZP9y16xfMv-my93xG-0h_mekZV7iWzjbQS8EOiFyy=GYTKA@mail.gmail.com' \
    --to=abhijit.k.halder@gmail.com \
    --cc=gdb-patches@sourceware.org \
    /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