This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/12212] gdb.selected_thread() core dumps gdb if noinferior is running
- From: "pmuldoon at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 23 Nov 2010 14:13:50 +0000
- Subject: [Bug python/12212] gdb.selected_thread() core dumps gdb if noinferior is running
- Auto-submitted: auto-generated
- References: <bug-12212-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12212
Phil Muldoon <pmuldoon at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |7.3
--- Comment #1 from Phil Muldoon <pmuldoon at redhat dot com> 2010-11-23 14:13:40 UTC ---
CVSROOT: /cvs/src
Module name: src
Changes by: pmuldoon@sourceware.org 2010-11-23 13:33:23
Modified files:
gdb : ChangeLog
gdb/python : py-inferior.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.python: python.exp
Log message:
2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
PR python/12212
* python/py-inferior.c (find_thread_object): Check if PIDGET
returns 0.
2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
PR python/12212
* gdb.python/python.exp: Check that selected_thread raises an
error when no inferior is loaded.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12337&r2=1.12338
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/py-inferior.c.diff?cvsroot=src&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2514&r2=1.2515
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/python.exp.diff?cvsroot=src&r1=1.17&r2=1.18
--
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.