HP gnu source-level debugger 5992-4701 environment-directory command, environment-path command

Models: gnu source-level debugger 5992-4701

1 369
Download 369 pages 58.54 Kb
Page 329
Image 329

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

Page 329
Image 329
HP gnu source-level debugger 5992-4701 manual environment-directory command, environment-path command