3

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

4

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...

5
  • So, is there any chance to do usable remote debugging with IDA? :-)
    – sqrtsben
    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
    Dec 2, 2013 at 18:32
  • 1
    GDB is open source. HINT :)
    – Devolus
    Dec 2, 2013 at 18:41
  • I agree with @Devolus ! Go, go, go ! :)
    – perror
    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
    Aug 7, 2020 at 12:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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