Re: strace changes behavior of the traced process

2014-07-28 Thread Andreas Schwab
Yuri writes: > When I run 'gdb printf' with and without strace, the output of gdb is > different in that with strace "Inferior exited" message disappears. > It looks like strace maybe consumes the exit signal of the debugged > process before gdb does? > > $ gdb printf > <...skipped...> > (gdb)

Re: [GSOC 2014] JSON support for strace - problems

2014-07-28 Thread enh
On Mon, Jul 28, 2014 at 8:44 AM, yangmin zhu wrote: > Hi Dmitry, > > I'm working to modify strace to support JSON, but I just encounter a > big problem recently and I could not find > out a suitable way to get through. > > the problem is: > 1), as you know, I designed a framework to support the JS

[GSOC 2014] JSON support for strace - problems

2014-07-28 Thread yangmin zhu
Hi Dmitry, I'm working to modify strace to support JSON, but I just encounter a big problem recently and I could not find out a suitable way to get through. the problem is: 1), as you know, I designed a framework to support the JSON output and the core of the framework is to hook the metadata pri