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: Thu, 06 Oct 2011 14:00:55 +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
Phil Muldoon <pmuldoon at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pmuldoon at redhat dot com
--- Comment #1 from Phil Muldoon <pmuldoon at redhat dot com> 2011-10-06 14:00:55 UTC ---
I cannot replicate this, can you still replicate it Kevin?
(gdb) file ~/simple
(gdb) python
>class b(gdb.Breakpoint):
> def stop(self):
> print "hello"
> self.delete()
>end
(gdb) py bp = b("main")
Breakpoint 1 at 0x400c48: file simple.c, line 4.
(gdb) r
hello
[Inferior 1 (process 715) exited normally]
(gdb) info breakpoints
No breakpoints or watchpoints.
--
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.