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)
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) r "Hello\n"
Starting program: