This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/12212] New: gdb.selected_thread() core dumps gdb if noinferior is running
- From: "markflorisson88 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 12 Nov 2010 14:01:31 +0000
- Subject: [Bug python/12212] New: gdb.selected_thread() core dumps gdb if noinferior is running
- Auto-submitted: auto-generated
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.