[Bug python/12802] Delete breakpoint from Breakpoint.stop
kevin.pouget at gmail dot com
sourceware-bugzilla@sourceware.org
Fri Oct 7 12:15:00 GMT 2011
http://sourceware.org/bugzilla/show_bug.cgi?id=12802
--- Comment #4 from Kevin Pouget <kevin.pouget at gmail dot com> 2011-10-07 12:14:44 UTC ---
is this a good alternative ?
class MyBP(gdb.Breakpoint):
def stop(self):
gdb.post_event(self.delete)
the documentation of gdb.post_event seems not very clear if you don't look at
what is done internally -- I didn't -- but I think it should be safe to do it
this way
--
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.
More information about the Gdb-prs
mailing list