public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/12212] New: gdb.selected_thread() core dumps gdb if no inferior is running
@ 2010-11-12 18:28 markflorisson88 at gmail dot com
2010-11-12 21:31 ` [Bug python/12212] " pmuldoon at redhat dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: markflorisson88 at gmail dot com @ 2010-11-12 18:28 UTC (permalink / raw)
To: gdb-prs
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug python/12212] gdb.selected_thread() core dumps gdb if no inferior is running
2010-11-12 18:28 [Bug python/12212] New: gdb.selected_thread() core dumps gdb if no inferior is running markflorisson88 at gmail dot com
@ 2010-11-12 21:31 ` pmuldoon at redhat dot com
2010-11-16 14:32 ` pmuldoon at redhat dot com
2010-11-23 22:25 ` pmuldoon at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: pmuldoon at redhat dot com @ 2010-11-12 21:31 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=12212
Phil Muldoon <pmuldoon at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |pmuldoon at redhat dot com
--
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug python/12212] gdb.selected_thread() core dumps gdb if no inferior is running
2010-11-12 18:28 [Bug python/12212] New: gdb.selected_thread() core dumps gdb if no inferior is running markflorisson88 at gmail dot com
2010-11-12 21:31 ` [Bug python/12212] " pmuldoon at redhat dot com
@ 2010-11-16 14:32 ` pmuldoon at redhat dot com
2010-11-23 22:25 ` pmuldoon at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: pmuldoon at redhat dot com @ 2010-11-16 14:32 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=12212
Phil Muldoon <pmuldoon at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at sourceware |pmuldoon at redhat dot com
|dot org |
--
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug python/12212] gdb.selected_thread() core dumps gdb if no inferior is running
2010-11-12 18:28 [Bug python/12212] New: gdb.selected_thread() core dumps gdb if no inferior is running markflorisson88 at gmail dot com
2010-11-12 21:31 ` [Bug python/12212] " pmuldoon at redhat dot com
2010-11-16 14:32 ` pmuldoon at redhat dot com
@ 2010-11-23 22:25 ` pmuldoon at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: pmuldoon at redhat dot com @ 2010-11-23 22:25 UTC (permalink / raw)
To: gdb-prs
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-11-23 14:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-12 18:28 [Bug python/12212] New: gdb.selected_thread() core dumps gdb if no inferior is running markflorisson88 at gmail dot com
2010-11-12 21:31 ` [Bug python/12212] " pmuldoon at redhat dot com
2010-11-16 14:32 ` pmuldoon at redhat dot com
2010-11-23 22:25 ` pmuldoon at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).