This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MI non-stop interface details


On Friday 02 May 2008 21:31:08 Pawel Piech wrote:

> Right now, *stopped reports the thread which hit the breakpoint. In
> all-stop mode, all threads are stopped. In non-stop mode, only that thread
> is stopped.
> 
> We surely can add an extra field to indicate which threads are actually stopped,
> if this makes life easier.
>   
>  Thank You :-)Â It would be more helpful if the thread-id field was 
>  left alone and always reported the triggering thread as it does now. 
>  It would be better (more consistent and logical) if the new field 
>  was used to indicate whether or not the whole container changed state.    

For avoidance of doubt, do you have any objections to *running using the "thread-id"
as the field name? Since this is new notification, there's no backward compatibility
issues, and there's no issue of which thread originally triggered anything.

- Volodya


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]