This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
automated trace output with gdb
- From: "Edward Peschko" <horos11 at gmail dot com>
- To: gdb at sourceware dot org
- Date: Wed, 29 Oct 2008 00:01:37 -0700
- Subject: automated trace output with gdb
All,
Solaris' dbx had the ability to record runs of programs - ie: you
could say 'trace step' and you could then see - printed out - all the
lines of code execute as the debugger executed them..
Does gdb have something similar? I see the concept of tracepoints, but
that's not exactly what I had in mind.. I just want a running
commentary of the code as it runs, without having to press 'n' and/or
's' all the time.. Could this be implemented in terms of tracepoints?
Thanks much,
Ed