This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
path command, set in gdb's env too?
- To: gdb at sourceware dot cygnus dot com
- Subject: path command, set in gdb's env too?
- From: Doug Evans <dje at transmeta dot com>
- Date: Thu, 8 Feb 2001 20:11:47 -0800
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.