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

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.


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