Debugging with GDB (February 2008)

Table Of Contents
Chapter 21: The gdb/mi Interface 293
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)