My question is quite straight forward: is there a possibility to tell gdbserver to follow the child when forking like

set follow-fork-mode child

1 Answer 1


Unfortunately, it seems to be not supported (a bug?). See this bug report in gdb bugzilla.

I am not aware of any recent update concerning this bug...

  • So, is there any chance to do usable remote debugging with IDA? :-)
    – sqrtsben
    Commented Dec 2, 2013 at 18:24
  • If the bug is fixed one day, it will be perfectly usable. But, waiting for this, it's quite doubtful. Anyway, posting your question here can put some more pressure on the gdb dev team ! ;-)
    – perror
    Commented Dec 2, 2013 at 18:32
  • 1
    GDB is open source. HINT :)
    – Devolus
    Commented Dec 2, 2013 at 18:41
  • I agree with @Devolus ! Go, go, go ! :)
    – perror
    Commented Dec 2, 2013 at 18:43
  • 1
    I didn't try, but the last comments in the bug report claim that this was fixed in 2015.
    – Étienne
    Commented Aug 7, 2020 at 12:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.