[prev in list] [next in list] [prev in thread] [next in thread]
List: dragonfly-bugs
Subject: can't gdb across fork
From: "Simon 'corecode' Schubert" <corecode () fs ! ei ! tum ! de>
Date: 2009-10-25 16:53:40
Message-ID: 4AE48294.5090209 () fs ! ei ! tum ! de
[Download RAW message or body]
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.
--
<3 the future +++ RENT this banner advert +++ ASCII Ribbon /"\
rock the past +++ space for low CHF NOW!1 +++ Campaign \ /
Party Enjoy Relax | http://dragonflybsd.org Against HTML \
Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic