From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23081 invoked by alias); 15 Apr 2005 12:01:04 -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 23029 invoked from network); 15 Apr 2005 12:01:00 -0000 Received: from unknown (HELO SERRANO.CAM.ARTIMI.COM) (217.40.213.68) by sourceware.org with SMTP; 15 Apr 2005 12:01:00 -0000 Received: from mace ([192.168.1.25]) by SERRANO.CAM.ARTIMI.COM with Microsoft SMTPSVC(6.0.3790.211); Fri, 15 Apr 2005 13:01:35 +0100 From: "Dave Korn" To: "'Bob Rossi'" , "'JS'" Cc: Subject: RE: Still cannot print variable Date: Fri, 15 Apr 2005 12:01:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: <20050415115453.GA26855@white> Message-ID: X-OriginalArrivalTime: 15 Apr 2005 12:01:35.0512 (UTC) FILETIME=[DF3B5980:01C541B2] X-SW-Source: 2005-04/txt/msg00096.txt.bz2 ----Original Message---- >From: Bob Rossi >Sent: 15 April 2005 12:55 > 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. Perhaps gdb *does* look in $PATH, and JS has the current directory ('.') in his $PATH settings? I just tried 'gdb yes' and it WFM.... cheers, DaveK -- Can't think of a witty .sigline today....