Bug #1587

can't gdb across fork

Added by corecode over 3 years ago.

Status:New Start date:
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

When the debugged process performs a fork(), gdb/ptrace won't notice and
will not be able to remove breakpoints in the new child. When the child
then hits a breakpoint, it will receive a SIGTRAP and dump core.

gdb needs to be aware of forks, so that it will be able to remove the
breakpoints in the child.

Test: gdb sh and break stalloc.


Related todos

Also available in: Atom PDF