Debugging with GDB Manual (5900-1473; WDB 6.2; January 2011)

Table Of Contents
Add directories pathdir to beginning of search path for object files.
GDB command
The corresponding GDB command is 'path'.
Example
(gdb)
-environment-path /kwikemart/marge/ezannoni/flathead-dev/ppc-eabi/gdb
^done
(gdb)
The -environment-pwd command
Synopsis
-environment-pwd
Show the current working directory.
GDB command
The corresponding GDB command is 'pwd'.
Example
(gdb)
-environment-pwd
~Working directory /kwikemart/marge/ezannoni/flathead-dev/devo/gdb.
^done
(gdb)
21.7 GDB/MI program control
Program termination
As a result of execution, the inferior program can run to completion, if it does not
encounter any breakpoints. In this case the output will include an exit code, if the program
has exited exceptionally.
Examples
Program exited normally:
(gdb)
-exec-run
^running
(gdb)
x = 55
*stopped,reason="exited-normally"
(gdb)
Program exited exceptionally:
21.7 GDB/MI program control 329