Bug 20631 - User selected thread change notification not sent when using "-thread-select --thread X X"
Summary: User selected thread change notification not sent when using "-thread-select ...
Status: NEW
Alias: None
Product: gdb
Classification: Unclassified
Component: mi (show other bugs)
Version: HEAD
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-24 20:09 UTC by Simon Marchi
Modified: 2016-09-24 20:09 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Marchi 2016-09-24 20:09:01 UTC
When using multiple UIs (e.g. one MI and one CLI), a "-thread-select" on the MI UI will generate a selected thread change event on the CLI.  However, if, for some reason, the --thread flag is used with the same thread as the one we are switching to, the event is not sent.  For example:

  -thread-select --thread 2 2