RFC strace via gdbserver
scox at redhat.com
Wed Oct 12 18:36:30 UTC 2016
This is a followup to
which describes Josh Stone's work on strace support for the gdb remote
Initially this effort supported gdbserver "all stop" mechanism, which
stops all threads. Support has been added to also support gdbserver
"non stop" mode; which only stops the examined thread.
( info gdb.info 'Non-Stop' )
The non stop protocol uses asynchronous notifications to communicate
between gdbserver and the client.
Additionally, support for qualifying expressions (-e expr) and following
children (-f) will be pushed soon.
Also, there is an ongoing effort to allow a gdb client to be examining a
process via gdbserver while also allowing a remote protocol aware strace
to attach to the same process via gdbserver.
More information about the Strace-devel