This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/12967] New: event.inferior_thread does not exist inall-stop/sync mode
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 6 Jul 2011 19:34:08 +0000
- Subject: [Bug python/12967] New: event.inferior_thread does not exist inall-stop/sync mode
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=12967
Summary: event.inferior_thread does not exist in all-stop/sync
mode
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: python
AssignedTo: unassigned@sourceware.org
ReportedBy: jan.kratochvil@redhat.com
CC: pmuldoon@redhat.com
Host: x86_64-fedora15-linux-gnu
Target: x86_64-fedora15-linux-gnu
When I remove
gdb_test_no_output "set non-stop on"
gdb_test_no_output "set target-async on"
from gdb.python/py-evsignal.exp and gdb.python/py-evthreads.exp they will FAIL
because
event type: stop
stop reason: signal
stop signal: SIGUSR1
thread num: 3
event type: stop
(gdb) PASS: gdb.python/py-evsignal.exp: thread 3 was signaled
->
event type: stop
stop reason: signal
stop signal: SIGUSR1
event type: stop
(gdb) FAIL: gdb.python/py-evsignal.exp: Signal Thread 3
that means that event.inferior_thread does not exist; because:
if ( event.inferior_thread is not None) :
print "thread num: %s" % (event.inferior_thread.num);
But I do not see why event.inferior_thread would not exist in all-stop/sync
mode, it should not be related.
--
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.