"path" does not seem to work correctly

Daniel Jacobowitz drow@false.org
Tue Jul 17 12:43:00 GMT 2007


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



More information about the Gdb mailing list