Debugging with GDB Manual HP WDB v6.3 (5900-2180, August 2012)
Add directory pathdir to the beginning of search path for source files.
GDB command
The corresponding GDB command is 'dir'.
Example
(gdb)
-environment-directory /kwikemart/marge/ezannoni/flathead-dev/devo/gdb
^done
(gdb)
The -environment-path command
Synopsis
-environment-path ( pathdir )+
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
21.7 GDB/MI program control 261