[Bug python/12212] New: gdb.selected_thread() core dumps gdb if no inferior is running

markflorisson88 at gmail dot com sourceware-bugzilla@sourceware.org
Fri Nov 12 18:28:00 GMT 2010


http://sourceware.org/bugzilla/show_bug.cgi?id=12212

           Summary: gdb.selected_thread() core dumps gdb if no inferior is
                    running
           Product: gdb
           Version: 7.2
            Status: NEW
          Severity: normal
          Priority: P2
         Component: python
        AssignedTo: unassigned@sourceware.org
        ReportedBy: markflorisson88@gmail.com


$ gdb -n -q                                                                     
(gdb) python print gdb.selected_thread()
inferior.c:362: internal-error: find_inferior_pid: Assertion `pid != 0' failed.
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.



More information about the Gdb-prs mailing list