This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug breakpoints/11970] New: pending breakpoints with multiple inferiors don't work


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]