public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/12967] New: event.inferior_thread does not exist in all-stop/sync mode
@ 2011-07-06 19:34 jan.kratochvil at redhat dot com
  2011-07-06 19:40 ` [Bug python/12967] " jan.kratochvil at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: jan.kratochvil at redhat dot com @ 2011-07-06 19:34 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-01-31 17:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-06 19:34 [Bug python/12967] New: event.inferior_thread does not exist in all-stop/sync mode jan.kratochvil at redhat dot com
2011-07-06 19:40 ` [Bug python/12967] " jan.kratochvil at redhat dot com
2012-01-03 22:03 ` tromey at redhat dot com
2012-01-30 18:24 ` palves at redhat dot com
2012-01-31 16:37 ` tromey at redhat dot com
2012-01-31 17:15 ` palves 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).