The -exec-abort command

Synopsis

-exec-abort

Kill the inferior running program.

GDB command

The corresponding GDB command is 'kill'.

Example

N.A.

The -exec-arguments command

Synopsis

-exec-arguments args

Set the inferior program arguments, to be used in the next '-exec-run'.

GDB command

The corresponding GDB command is 'set args'.

Example

Do not have one around.

The -exec-continue command

Synopsis

-exec-continue

Asynchronous command. Resumes the execution of the inferior program until a breakpoint is encountered, or until the inferior exits.

GDB command

The corresponding GDB is 'continue'.

Example

-exec-continue ^running (gdb)

@Hello world *stopped,reason="breakpoint-hit",bkptno="2",thread-id="1",frame=addr="0x000029d8", func="foo",args=[],file="hello.c",line="16"file="hello.c",line="13"}

(gdb)

21.7 GDB/MI program control 331

Page 331
Image 331
HP gnu source-level debugger 5992-4701 manual exec-abort command, exec-arguments command, exec-continue command