[PATCH v2] Add gdb remote protocol backend to strace
Stan Cox
scox at redhat.com
Wed Dec 2 04:09:16 UTC 2020
Reposting of
https://lists.strace.io/pipermail/strace-devel/2020-November/010264.html
with recent upstream changes merged in, whitespace and cpp bracketing
errors fixed.
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-gdbserver-backend.patch
Type: text/x-patch
Size: 105086 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20201201/a0bc87b3/attachment.bin>
More information about the Strace-devel
mailing list