Re: [PATCH] Add gdb remote protocol handling to strace

2017-12-12 Thread Stan Cox
Ping. Thanks. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Strace-devel mailing list Strac

Re: [PATCH] Add gdb remote protocol handling to strace

2017-11-10 Thread Stan Cox
Example usage: gdbserver --once --multi :65432 & sleep 2 ; /work/scox/strace/mysrc/strace -G localhost:65432 ~/src/hello.x [1] 4979 Listening on port 65432 /work/scox/strace/mysrc/strace: -G is always multithreaded, implies -f Remote debugging from host 127.0.0.1 Process /home/scox/src/hello.x cr

Re: [PATCH] Add gdb remote protocol handling to strace

2017-11-09 Thread Stan Cox
The last posted patch lost a printsiginfo patch that used macro tricks to avoid that signal.h problem but I changed to use an opaque pointer for next_event/dispatch_event to avoid the problem. It is assumed that a gdbserver is running and the strace gdbserver backend communicates with that, t

Re: [PATCH] Add gdb remote protocol handling to strace

2017-11-02 Thread Dmitry V. Levin
On Thu, Nov 02, 2017 at 02:01:20PM +0100, Eugene Syromiatnikov wrote: > On Thu, Nov 02, 2017 at 06:38:39AM +0300, Dmitry V. Levin wrote: > > On Tue, Oct 17, 2017 at 02:29:31PM -0400, Stan Cox wrote: > > [...] > > > + /* Make sure SIGCHLD has the default action so that waitpid > > > +definitely

Re: [PATCH] Add gdb remote protocol handling to strace

2017-11-02 Thread Eugene Syromiatnikov
On Thu, Nov 02, 2017 at 06:38:39AM +0300, Dmitry V. Levin wrote: > On Tue, Oct 17, 2017 at 02:29:31PM -0400, Stan Cox wrote: > [...] > > + /* Make sure SIGCHLD has the default action so that waitpid > > + definitely works without losing track of children. The user > > + should not have

Re: [PATCH] Add gdb remote protocol handling to strace

2017-11-01 Thread Dmitry V. Levin
On Tue, Oct 17, 2017 at 02:29:31PM -0400, Stan Cox wrote: [...] > + /* Make sure SIGCHLD has the default action so that waitpid > +definitely works without losing track of children. The user > +should not have given us a bogus state to inherit, but he might > +have. Ar

Re: [PATCH] Add gdb remote protocol handling to strace

2017-11-01 Thread Dmitry V. Levin
On Tue, Oct 17, 2017 at 02:29:31PM -0400, Stan Cox wrote: > This is the latest version of the gdbserver backend patch. It is > rebased to master, supports the new event dispatch scheme,and has > changes including buffer handling improvements and a rewrite of > notification queue handling. It is

[PATCH] Add gdb remote protocol handling to strace

2017-10-17 Thread Stan Cox
This is the latest version of the gdbserver backend patch. It is rebased to master, supports the new event dispatch scheme,and has changes including buffer handling improvements and a rewrite of notification queue handling. It is a large patch but much of it is boilerplate changes due to adding