From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26867 invoked by alias); 15 Apr 2005 12:06:32 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 26827 invoked from network); 15 Apr 2005 12:06:28 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 15 Apr 2005 12:06:28 -0000 Received: from drow by nevyn.them.org with local (Exim 4.50 #1 (Debian)) id 1DMPae-0005nj-EH for ; Fri, 15 Apr 2005 08:06:28 -0400 Date: Fri, 15 Apr 2005 12:06:00 -0000 From: Daniel Jacobowitz To: gdb@sources.redhat.com Subject: Re: Still cannot print variable Message-ID: <20050415120627.GA22155@nevyn.them.org> Mail-Followup-To: gdb@sources.redhat.com References: <20050415115453.GA26855@white> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050415115453.GA26855@white> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-04/txt/msg00097.txt.bz2 On Fri, Apr 15, 2005 at 07:54:54AM -0400, Bob Rossi wrote: > You know, I just realized it's kind of odd that GDB doesn't look on the > users PATH to figure out which program to debug. For instance, it must > first look in the . directory, which is why this works in the first > place. I'd expect GDB to start debugging /usr/bin/test, as if he'd run > 'test' on the command line. It does search $PATH. However, it searches the current directory first, because it's more like a program taking a file argument than it is like a command. -- Daniel Jacobowitz CodeSourcery, LLC