开发者

gdbserver follow child

开发者 https://www.devze.com 2023-02-05 17:10 出处:网络
I\'m trying to de开发者_Go百科bug a forking process on remote host, but getting the gdbserver process end on me every time with child exit.

I'm trying to de开发者_Go百科bug 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消