[PATCH v2] Add gdb remote protocol backend to strace
Stan Cox
scox at redhat.com
Mon Nov 16 20:13:16 UTC 2020
Reposting of
https://lists.strace.io/pipermail/strace-devel/2020-July/009988.html
with recent upstream changes merged in.
This patch was reworked to reduce the complexity by
replacing the backend dispatch mechanism, which although perhaps a bit
elegant for the task at hand, greatly increased the complexity of the
patch. gdbserver specific calls are now bracketed (8 in strace.c, 1
each in syscall.c, ucopy.c, upeek.c, upoke.c) with
#ifdef ENABLE_GDBSERVER
 ...call equivalent routine in gdbserver.c
#endif
All tests pass, reworked the commit to add more detailed information.
Thanks,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdbserver-backend.patch
Type: text/x-patch
Size: 106254 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20201116/176fe82b/attachment.bin>
More information about the Strace-devel
mailing list