This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/11970] New: pending breakpoints with multiple inferiors don't work
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 2 Sep 2010 21:10:26 -0000
- Subject: [Bug breakpoints/11970] New: pending breakpoints with multiple inferiors don't work
- Reply-to: sourceware-bugzilla at sourceware dot org
See my debugging recipe in PR 11967 for the setup:
I am debugging g++ but hoping to stop somewhere in libcpp,
which is part of a subprocess run by g++.
I did "break collect_args" in gdb, then ran g++.
It never stopped. The only way I could find to make this
work was to "catch exec" and then set the breakpoint when
gdb stopped due to the exec of cc1plus.
I looked internally a little and it seems that "break" sets
the breakpoint's pspace to the current program space.
That does not seem ideal for pending breakpoints.
--
Summary: pending breakpoints with multiple inferiors don't work
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: breakpoints
AssignedTo: unassigned at sourceware dot org
ReportedBy: tromey at redhat dot com
CC: gdb-prs at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=11970
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.