automated trace output with gdb

Edward Peschko horos11@gmail.com
Wed Oct 29 07:02:00 GMT 2008


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



More information about the Gdb mailing list