Debugging with GDB Manual HP WDB v6.3 (5900-2180, August 2012)

Example
(gdb)
111-exec-continue
111^running
(gdb)
222-exec-interrupt
222^done
(gdb)
111*stopped,signal-name="SIGINT",signal-meaning="Interrupt",
frame={addr="0x00010140",func="foo",args=[],file="try.c",line="13"}
(gdb)
(gdb)
-exec-interrupt
^error,msg="mi_cmd_exec_interrupt: Inferior not executing."
(gdb)
The -exec-next command
Synopsis
-exec-next
Asynchronous command. Resumes execution of the inferior program, stopping when the beginning
of the next source line is reached.
GDB command
The corresponding GDB command is 'next'.
Example
-exec-next
^running
(gdb)
*stopped,reason="end-stepping-range",thread-id="1",frame=addr="0x00002a10",
func="main",args=[],file="hello.c",line="24"(gdb)
The -exec-next-instruction command
Synopsis
-exec-next-instruction
Asynchronous command. Executes one machine instruction. If the instruction is a function, call
continues until the function returns. If the program stops at an instruction in the middle of a source
line, the address will be printed as well.
GDB command
The corresponding GDB command is 'nexti'.
Example
(gdb)
-exec-next-instruction
^running
(gdb)
*stopped,reason="end-stepping-range",thread-
id="1",frame=addr="0x00002a14",func="main",args=[],file="hello.c",line="24"
(gdb)
264 The GDB/MI Interface