(a?)synchronous stepping commands in gdb MI, a week later

Konstantin Karganov kostik@ispras.ru
Mon Nov 29 19:59:00 GMT 2004


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 





More information about the Gdb mailing list