Bug 15853 - 'thread apply all inetrrupt&' shows inefficiency on remote targets
Summary: 'thread apply all inetrrupt&' shows inefficiency on remote targets
Status: NEW
Alias: None
Product: gdb
Classification: Unclassified
Component: gdb (show other bugs)
Version: unknown
: P2 normal
Target Milestone: ---
Assignee: hmb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-19 11:35 UTC by hmb
Modified: 2013-08-19 11:36 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 hmb 2013-08-19 11:35:42 UTC
In the case of 'interrupt -a&' command gdb sends only one packet to 
stop all  threads as $vCont;t#b9...

But in case of 'thread apply all interrupt&' GDB issues indiviual packets for each thread.I think that In non-stop mode 
'interrupt -a&' and 'thread apply all interrupt&' commands all equals but time 
efficiency of later command is less.

Also.

If user issues a command like 'thread apply all interrupt -a&'
GDB accepts it and GDB will stop all threads on first vcount;t packets  but due to loops, it sends vcount;t packet for all remaining threads altought gdb has already stop all thread so IMO it is a bug.