This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/12802] New: Delete breakpoint from Breakpoint.stop
- From: "kevin.pouget at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 24 May 2011 13:20:17 +0000
- Subject: [Bug python/12802] New: Delete breakpoint from Breakpoint.stop
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=12802
Summary: Delete breakpoint from Breakpoint.stop
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: python
AssignedTo: unassigned@sourceware.org
ReportedBy: kevin.pouget@gmail.com
an internal error occurs when you try to `delete' a breakpoint during `stop'
callback:
class MyBP(gdb.Breakpoint):
def stop(self):
self.delete()
(gdb) python MyBP(spec="main")
(gdb) run
Starting program: /home/kevin/a.out
/home/kevin/travail/srcs/git/gdb/gdb/breakpoint.c:4573: internal-error:
bpstat_what: unhandled bptype -1120308712
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)
--
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.