From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32626 invoked by alias); 3 May 2005 03:46:19 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 32490 invoked from network); 3 May 2005 03:46:06 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 3 May 2005 03:46:06 -0000 Received: from drow by nevyn.them.org with local (Exim 4.50 #1 (Debian)) id 1DSoMH-00007O-Ih; Mon, 02 May 2005 23:46:05 -0400 Date: Tue, 03 May 2005 03:46:00 -0000 From: Daniel Jacobowitz To: Eli Zaretskii Cc: gdb-patches@sources.redhat.com Subject: Re: [RFC] fullname attribute for GDB/MI stack frames Message-ID: <20050503034604.GA437@nevyn.them.org> Mail-Followup-To: Eli Zaretskii , gdb-patches@sources.redhat.com References: <20050501021945.GA19962@white> <01c54e7a$Blat.v2.4$e31afae0@zahav.net.il> <20050502005415.GA21588@white> <01c54f4d$Blat.v2.4$3ce76180@zahav.net.il> <20050502193638.GD22967@white> <01c54f50$Blat.v2.4$29b171c0@zahav.net.il> <20050502195515.GA10429@nevyn.them.org> <01c54f57$Blat.v2.4$4c163500@zahav.net.il> <20050502204859.GA6090@nevyn.them.org> <01c54f91$Blat.v2.4$f6e0b160@zahav.net.il> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01c54f91$Blat.v2.4$f6e0b160@zahav.net.il> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-05/txt/msg00081.txt.bz2 On Tue, May 03, 2005 at 06:40:15AM +0300, Eli Zaretskii wrote: > > Date: Mon, 2 May 2005 16:49:00 -0400 > > From: Daniel Jacobowitz > > > > > DOS/Windows file names can be gray, not only white or black. Examples > > > include \abc and d:foo. While not entirely free of ``current'' > > > something, they are much closer to absolute file names than to > > > relative file names, in the sense that you don't prepend cwd to them > > > to get an absolute file name (which is what 99.99% of programs > > > _really_ want to know when they are testing a file name for being > > > absolute). > > > > That's not what we're testing for in the testsuite, though. > > What _are_ we trying to test? GDB is outputting an absolute path, which will be used by either the user or by a front end. In either case, it should locate the file entirely unambiguously. Otherwise the IDE may display the wrong source file to the user, et cetera. > > I think that we should reject both \abc and d:foo here. > > I don't think so. Could you explain why? What should the front end receiving this information do with it? -- Daniel Jacobowitz CodeSourcery, LLC