Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* GDB session logging
@ 2011-09-13 14:37 Abhijit Halder
  2011-09-14 17:48 ` [PATCH] " Abhijit Halder
  0 siblings, 1 reply; 4+ messages in thread
From: Abhijit Halder @ 2011-09-13 14:37 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-09-15  9:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-13 14:37 GDB session logging Abhijit Halder
2011-09-14 17:48 ` [PATCH] " Abhijit Halder
2011-09-15  6:30   ` Pedro Alves
2011-09-15 11:55     ` Abhijit Halder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox