From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9956 invoked by alias); 7 Feb 2004 01:14:26 -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 9947 invoked from network); 7 Feb 2004 01:14:26 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 7 Feb 2004 01:14:26 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1ApH3A-0001IS-SG; Fri, 06 Feb 2004 20:14:24 -0500 Date: Sat, 07 Feb 2004 01:14:00 -0000 From: Daniel Jacobowitz To: Andrew Cagney Cc: John Utz , gdb@sources.redhat.com Subject: Re: stepping thru assembled files that are referenced as temp files ie: /tmp/ccjirvvY.s Message-ID: <20040207011424.GA4957@nevyn.them.org> Mail-Followup-To: Andrew Cagney , John Utz , gdb@sources.redhat.com References: <20040206235810.GA3110@nevyn.them.org> <4024322F.7020104@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4024322F.7020104@gnu.org> User-Agent: Mutt/1.5.1i X-SW-Source: 2004-02/txt/msg00069.txt.bz2 On Fri, Feb 06, 2004 at 07:32:47PM -0500, Andrew Cagney wrote: > > >>(gdb) s > >>_linear_clear_to_color16 () at /tmp/ccjirvvY.s:27 > >>27 /tmp/ccjirvvY.s: No such file or directory > >> in /tmp/ccjirvvY.s > >>Current language: auto; currently asm > >>(gdb) > >> > >>how can i tell gdb to stop looking for the tmp-name and look for this > >>function in allegro-4.0.3/src/i386/iblit16.s? > > > > > >I'm guessing it's iblit16.S, or you're arranging to run it through the > >C preprocessor some other way. If so, it's a known bug - no one's > >thought of a good solution yet. > > Teach the assembler to respect cpp line directives, like old fashioned > cc1 knew how to do? (And still does). Yeah, that's my feeling on the matter also; I think it would be portably possible but it might require some target-specific widgetry, due to the variation in assembler comment characters. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer