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] New: Delete breakpoint from Breakpoint.stop


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.


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