From: Pedro Alves <palves@redhat.com>
To: Simon Marchi <simon.marchi@ericsson.com>, gdb-patches@sourceware.org
Subject: Re: [PATCH] Add mi-threads-interrupt.exp test (PR 20039)
Date: Tue, 03 May 2016 22:04:00 -0000 [thread overview]
Message-ID: <47d2ec33-9e48-6046-47a2-544c7186de75@redhat.com> (raw)
In-Reply-To: <5983d4d2-016a-8020-c109-cb7ea2cfd179@redhat.com>
On 05/03/2016 10:57 PM, Pedro Alves wrote:
> I debugged this a little, and I see that the bug is that -exec-continue ends
> up with thread 3 selected, which generates a =thread-selected event.
Oh, BTW, I think this explains why reversing the thread list order exposed
this bug. Before that patch, we'd issue an -exec-continue with
thread 1 selected, and gdb would resume thread 3, thread 2, and thread 1,
and thus end up with thread 1 selected again, and thus no =thread-selected
event would be output. So I guess that if you select thread 2 before
the -exec-continue, the test exposes the bug even before the thread list
reordering patch. Might be good to do that in the test in case that
detail ever changes again.
Thanks,
Pedro Alves
next prev parent reply other threads:[~2016-05-03 22:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-03 20:00 Simon Marchi
2016-05-03 21:57 ` Pedro Alves
2016-05-03 21:59 ` Pedro Alves
2016-05-03 22:04 ` Pedro Alves [this message]
2016-05-04 9:20 ` Pedro Alves
2016-05-04 18:04 ` Simon Marchi
2016-05-04 19:27 ` Pedro Alves
2016-05-04 14:34 ` Simon Marchi
2016-05-04 15:07 ` Pedro Alves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47d2ec33-9e48-6046-47a2-544c7186de75@redhat.com \
--to=palves@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=simon.marchi@ericsson.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox