Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: mandar.mitra@gmail.com
Cc: gdb@sourceware.org
Subject: Re: "path" does not seem to work correctly
Date: Tue, 17 Jul 2007 12:43:00 -0000	[thread overview]
Message-ID: <20070717105358.GA25318@caradoc.them.org> (raw)
In-Reply-To: <64dc1fc50707162046g14063577l37bac2fa8b47fc2d@mail.gmail.com>

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


  reply	other threads:[~2007-07-17 10:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-17 10:54 Mandar Mitra
2007-07-17 12:43 ` Daniel Jacobowitz [this message]
2007-07-17 13:46   ` Mandar Mitra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070717105358.GA25318@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb@sourceware.org \
    --cc=mandar.mitra@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox