path command, set in gdb's env too?

Doug Evans dje@transmeta.com
Thu Feb 8 20:12:00 GMT 2001


The `path' command only adds the path to the inferior's environment.
Is it also supposed to add the path to gdb's environment?

>From gdb.texinfo:

@table @code
@kindex path
@item path @var{directory}
Add @var{directory} to the front of the @code{PATH} environment variable
(the search path for executables), for both @value{GDBN} and your program.
You may specify several directory names, separated by whitespace or by a
system-dependent separator character (@samp{:} on Unix, @samp{;} on
MS-DOS and MS-Windows).  If @var{directory} is already in the path, it
is moved to the front, so it is searched sooner.



More information about the Gdb mailing list