This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA [PATCH v4] Implement 'catch syscall' for gdbserver (was Re: RFA [PATCH v3] Implement 'catch syscall' for gdbserver)
- From: Philippe Waroquiers <philippe dot waroquiers at skynet dot be>
- To: Sergio Durigan Junior <sergiodj at redhat dot com>
- Cc: Pedro Alves <palves at redhat dot com>, gdb-patches at sourceware dot org
- Date: Thu, 10 Oct 2013 00:10:18 +0200
- Subject: Re: RFA [PATCH v4] Implement 'catch syscall' for gdbserver (was Re: RFA [PATCH v3] Implement 'catch syscall' for gdbserver)
- Authentication-results: sourceware.org; auth=none
- References: <1379796907 dot 5980 dot 20 dot camel at soleil> <m3bo3ec7cp dot fsf at redhat dot com> <1380467062 dot 3567 dot 52 dot camel at soleil> <524DBA28 dot 3070706 at redhat dot com> <1380837750 dot 2217 dot 104 dot camel at soleil> <524EFB00 dot 90105 at redhat dot com> <524FD8A9 dot 2010006 at redhat dot com> <1381355683 dot 2141 dot 68 dot camel at soleil> <m3eh7urtgf dot fsf at redhat dot com>
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