From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10467 invoked by alias); 13 Feb 2003 03:00:50 -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 10459 invoked from network); 13 Feb 2003 03:00:47 -0000 Received: from unknown (HELO white) (68.14.146.65) by 172.16.49.205 with SMTP; 13 Feb 2003 03:00:47 -0000 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 18j9cE-0003Ye-00 for ; Wed, 12 Feb 2003 22:00:46 -0500 Date: Thu, 13 Feb 2003 03:00:00 -0000 From: Bob Rossi To: gdb-patches@sources.redhat.com Subject: Re: Adding -file-list-exec-source-file command to GDB/MI Message-ID: <20030213030046.GA13531@white> Mail-Followup-To: gdb-patches@sources.redhat.com References: <20030210221557.GA11238@white> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i X-SW-Source: 2003-02/txt/msg00303.txt.bz2 On Tue, Feb 11, 2003 at 08:38:56AM +0200, Eli Zaretskii wrote: > > On Mon, 10 Feb 2003, Bob Rossi wrote: > > > This is a patch to add -file-list-exec-source-file to GDB. The command > > returns to the client the absolute path and line number of the current > > executable. > > Thanks. > > But what happens if the debug format doesn't support full file names? > COFF debug info is one such case; what does the command do in that case? I think it should act the way annotate 1 acts. Since this is the de-facto standard for getting the current file that gdb is on. How could I test this case? Can you give me a simple way to create an executable that has the COFF debug format in it? Thanks, Bobby