Chapter 26. The gdb/mi Interface
235
^done,path="/kwikemart/marge/ezannoni/flathead-dev/ppc-eabi/gdb:/bin:/usr/bin"
(gdb)
-environment-path -r /usr/local/bin
^done,path="/usr/local/bin:/usr/bin"
(gdb)
26.9.15. The
Command
-environment-pwd
26.9.15.1. Synopsis
-environment-pwd
Show the current working directory.
26.9.15.2. gdb command
The corresponding gdb command is
.
pwd
26.9.15.3. Example
(gdb)
-environment-pwd
^done,cwd="/kwikemart/marge/ezannoni/flathead-dev/devo/gdb"
(gdb)
26.10. gdb/mi Program control
26.10.1. Program termination
As a result of execution, the inferior program can run to completion, if it doesn't encounter any
breakpoints. In this case the output will include an exit code, if the program has exited exceptionally.
26.10.2. Examples
Program exited normally:
(gdb)
-exec-run
^running
(gdb)
x = 55