HP gnu source-level debugger 5992-4701 User Manual

Page 329

Advertising
background image

Set the GDB working directory.

GDB command

The corresponding GDB command is 'cd'.

Example

(gdb)
-environment-cd /kwikemart/marge/ezannoni/flathead-dev/devo/gdb
^done
(gdb)

The -environment-directory command

Synopsis

-environment-directory pathdir

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)

21.6 GDB/MI Data manipulation

329

Advertising