RFC: MI output during program execution

Daniel Jacobowitz drow@false.org
Tue Aug 16 00:43:00 GMT 2005


On Mon, Aug 15, 2005 at 04:28:07PM +1200, Nick Roberts wrote:
>  > The hooks we were talking about were primarily for things like the
>  > breakpoint list and thread list.  The ^running response is touchier.
>  > ^running is a result record, not an async record.  It has to be the
>  > result of a command.  
> 
> It is classed as a result record in MI but presumably its an asynchronous
> process.  Perhaps it should be *running, just as it is *stopped.  Treating it

Yeah - I'm beginning to think that we should use this:

(gdb)
-exec-continue
*running
^done
(gdb)

Instead of the current:

(gdb)
-exec-continue
^running
(gdb)

It'd definitely have to be mi3 only, though!  This would be a pretty
big change that frontends would have to adapt to.

The asymmetry between ^running and *stopped will bite us here.  For
instance, for a CLI command, I'd want roughly:

(gdb)
-interpreter-exec console "continue"
*running
^done
(gdb)

Anyway, food for thought.

-- 
Daniel Jacobowitz
CodeSourcery, LLC



More information about the Gdb-patches mailing list