Project

General

Profile

Actions

Bug #1587

open

can't gdb across fork

Added by corecode over 13 years ago. Updated over 1 year ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
Userland
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

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.


Files

signature.asc (901 Bytes) signature.asc corecode, 02/24/2014 05:33 AM
Actions

Also available in: Atom PDF