System calls debugging

Andrew Cagney cagney@gnu.org
Wed Feb 11 18:28:00 GMT 2004


> ld you just type
> (gdb) strace <args>
> 
> and have it print out what strace does now while it runs,
> or do you have something more in mind?

who knows, something like:

(gdb) {set,show} strace <see help handle>

or

(gdb) catch syscall all
Catch point 5 created
(gdb) commands 5
silent
backtrace
continue
end
(gdb)

(and don't get me started about that "silent" "feature" :-)

Andrew




More information about the Gdb mailing list