Red Hat Bugzilla – Bug 349451
Watchpoints missed after inferior's fork()
Last modified: 2008-07-24 15:56:38 EDT
+++ This bug was initially created as a clone of Bug #237096 +++
-- Additional comment from email@example.com on 2007-10-15 11:26 EST --
I guess I found the problem during an unrelated gdb-on-gdb debugging.
The problem is fork()ing of the debugged program.
fork() there disarms the hardware watchpoints (they still appear as active but
they get unset from the hardware registers).
gdb cvs upstream
Fedora8/development binary + source rpm:
.src.rpm there is easily `rpm --rebuild'-able at least on RHEL-5.
Patch posted upstream:
It should (no guarantees can be made) get fixed in RHEL-4.7 and RHEL-5.2.
-- Additional comment from firstname.lastname@example.org on 2007-10-23 16:21 EST --
Fixed in Rawhide (and F8):
* Fri Oct 19 2007 Jan Kratochvil <email@example.com> - 6.6-37
- Fix hiding unexpected breakpoints on intentional step/next commands.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
Partial fix available (needs documentation update).
Change driven by customer issue.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.