[PATCH v2] Add gdb remote protocol backend to strace

Stan Cox scox at redhat.com
Thu Jul 23 19:04:52 UTC 2020


On 4/13/20 16:23, Dmitry V. Levin wrote:

> do not use merge commits, our master branch contains a linear history

This patch is a single commit with respect to the most recent upstream 
strace sources.  The 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


> rebasing on top of the master branch, fixing
> whitespace errors in each commit, making each commit pass the test suite,
> and improving many commit messages that are not informative enough.

Rebased as a single commit with respect to the master branch, 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: 106302 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20200723/1d5fccdf/attachment.bin>


More information about the Strace-devel mailing list