stepping thru assembled files that are referenced as temp files ie: /tmp/ccjirvvY.s

Daniel Jacobowitz drow@mvista.com
Sat Feb 7 01:14:00 GMT 2004


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



More information about the Gdb mailing list