This is the mail archive of the gdb@sources.redhat.com 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[2]: (a?)synchronous stepping commands in gdb MI, a week later


Hello Andrew,

>> Does anyone know why the "-exec-*" commands family in GDB MI is
>> declared asynchronous but in fact behaves synchronously (blocking the
>> interface until the execution completes)?

> Asynchronous behavior depends on an asynchronous backend.  At present 
> only ``target async-remote'' is asynchronous (and then there's doubt 
> that it still works), hence the behavior you're seeing.
So it's just obsolete documentation, that states asynchronous
behavior? Or there are plans to add asynchronous commands later?

One more question: when the execution of "next" (or "step") command in
GDB is interrupted is there a way to know where it would stop if not
interrupted?
Or, maybe, the way to continue the execution of interrupted GDB command
as if there was no interrupt?..

Thanks a lot.

-- 
Best regards,
 Konstantin 




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