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


A Tuesday 29 April 2008 19:56:15, Marc Khouzam wrote:

> For curiosity, what will happen to GDB's 'current thread' if that
> thread is continued, i.e., what if we have -exec-continue on a single
> thread as suggested above, and we issue two -exec-continue in a row?
>

This isn't stricly related to the current thread.  What happens
if the frontend emits two '-exec-continue --thread="1"' ?
GDB will currently error out if a command tries to resume a
running thread. 

Currently:
 error ("Thread is already running");

Ignoring would also be a valid behaviour, I guess, although
an error condition is easier to define.

-- 
Pedro Alves


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