This is the mail archive of the gdb@sources.redhat.com 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]

Re: System calls debugging


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



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