This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: "path" does not seem to work correctly
On Tue, Jul 17, 2007 at 03:46:19AM +0000, Mandar Mitra wrote:
> But when I run "gdb smart", or "file smart" inside gdb, it still picks
> up the optimized executable from diropt/bin.
I believe that's what is supposed to happen:
`path DIRECTORY'
Add DIRECTORY to the front of the `PATH' environment variable
(the
search path for executables) that will be passed to your program.
The value of `PATH' used by GDB does not change.
--
Daniel Jacobowitz
CodeSourcery