I'm trying to debug a forking process on remote host, but getting the gdbserver process end on me every time with child exit.
Tried to setting "set follow-fork-mode child" in .gdbinit, didn't help.
Is there a good solution for this one?
Thanks.
I'm trying to debug a forking process on remote host, but getting the gdbserver process end on me every time with child exit.
Tried to setting "set follow-fork-mode child" in .gdbinit, didn't help.
Is there a good solution for this one?
Thanks.
Does the forking process fork more than once? If not, you can use the --attach option to attach to the child.