This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GDB session logging


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]