* path command, set in gdb's env too?
@ 2001-02-08 20:12 Doug Evans
2001-02-09 0:01 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Doug Evans @ 2001-02-08 20:12 UTC (permalink / raw)
To: gdb
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: path command, set in gdb's env too?
2001-02-08 20:12 path command, set in gdb's env too? Doug Evans
@ 2001-02-09 0:01 ` Eli Zaretskii
2001-02-11 5:39 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2001-02-09 0:01 UTC (permalink / raw)
To: dje; +Cc: gdb
> Date: Thu, 8 Feb 2001 20:11:47 -0800
> From: Doug Evans <dje@transmeta.com>
>
> The `path' command only adds the path to the inferior's environment.
> Is it also supposed to add the path to gdb's environment?
No, not anymore. This used to be that way, but was changed with these
changes:
Tue Mar 15 10:33:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* environ.c (set_in_environ): Eliminate special handling of PATH and
GNUTARGET.
Unfortunately, it seems gdb.texinfo was not updated accordingly...
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: path command, set in gdb's env too?
2001-02-09 0:01 ` Eli Zaretskii
@ 2001-02-11 5:39 ` Eli Zaretskii
0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2001-02-11 5:39 UTC (permalink / raw)
To: dje, gdb
On Fri, 9 Feb 2001, Eli Zaretskii wrote:
> > Date: Thu, 8 Feb 2001 20:11:47 -0800
> > From: Doug Evans <dje@transmeta.com>
> >
> > The `path' command only adds the path to the inferior's environment.
> > Is it also supposed to add the path to gdb's environment?
>
> No, not anymore. This used to be that way, but was changed with these
> changes:
>
> Tue Mar 15 10:33:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
>
> * environ.c (set_in_environ): Eliminate special handling of PATH and
> GNUTARGET.
>
> Unfortunately, it seems gdb.texinfo was not updated accordingly...
I updated the docs now. Thank you for your report.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-02-11 5:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-08 20:12 path command, set in gdb's env too? Doug Evans
2001-02-09 0:01 ` Eli Zaretskii
2001-02-11 5:39 ` Eli Zaretskii
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox