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 gdb/11969] New: "catch exec" does not work with follow-exec-mode=new


See the recipe in PR 11967.
If I patch around the bug in that PR (change the assert to an if),
gdb seems to work ok.

In this setup I tried "catch exec", so I could set a breakpoint in the
new cc1plus subprocess.  However, gdb did not stop.  If I set
follow-exec-mode back to "same", then "catch exec" did start working.

-- 
           Summary: "catch exec" does not work with follow-exec-mode=new
           Product: gdb
           Version: HEAD
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
        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=11969

------- 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]