This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/12802] Delete breakpoint from Breakpoint.stop
- From: "pmuldoon at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 07 Oct 2011 13:58:42 +0000
- Subject: [Bug python/12802] Delete breakpoint from Breakpoint.stop
- Auto-submitted: auto-generated
- References: <bug-12802-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12802
--- Comment #6 from Phil Muldoon <pmuldoon at redhat dot com> 2011-10-07 13:58:42 UTC ---
Yes, I believe so. But you are still in very dangerous waters. What happened
if you deleted the breakpoint, but returned "True" from that function. At the
very least any breakpoint event notification would be broken. GDB would call
breakpoint stopped observers, but would not have a breakpoint to reference.
There is nothing to stop you doing it in your scripts, but I would really be
very careful.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.