[PATCH v4] Implement 'catch syscall' for gdbserver

Philippe Waroquiers philippe.waroquiers@skynet.be
Mon Jan 11 17:44:00 GMT 2016


On Fri, 2016-01-08 at 19:09 -0800, Josh Stone wrote:
> This adds a new QCatchSyscalls packet to enable 'catch syscall', and new
> stop reasons "syscall_entry" and "syscall_return" for those events.  It
> is currently only supported on Linux x86 and x86_64.
I did some basic tests of the v4 patch on x86,
and also with a (patched) valgrind gdbserver.
No problem encountered.

So, if/when this patch is committed in gdb, I will also commit the catch
syscall support in the valgrind gdbserver (which will provide
catch syscall on all valgrind architectures i.e.
x86/amd64/ppc32/ppc64/mips32/mips64/tilegx/s390x/arm/arm64).

So, awaiting commit ...

Philippe




More information about the Gdb-patches mailing list