Re: RFA [PATCH v4] Implement 'catch syscall' for gdbserver (was Re: RFA [PATCH v3] Implement 'catch syscall' for gdbserver)

Philippe Waroquiers
2013-10-09T22:09:55Z

On Wed, 2013-10-09 at 19:05 -0300, Sergio Durigan Junior wrote:
> On Wednesday, October 09 2013, Philippe Waroquiers wrote:
>
> > * Need to investigate the bug in gdb 'catch syscall' flip/flop logic.
> > If this logic can be fixed, then have gdbserver and gdb using
> > the same logic.
>
> Just FYI, I started a weekend-project to implement the
> PTRACE_O_SYSCALL_{ENTER,EXIT} ideas from our wishlist :-). I already
> have a patch working, but I need to give it some love before posting
> it...
That is nice.

But I guess we still need gdb to work with (old/current) kernels
that will not provide this functionality (and/or with stubs
for non linux based OS that will never benefit from this).

Philippe