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 python/12802] Delete breakpoint from Breakpoint.stop


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.


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