bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-gdwarf-2 and x.S files


From: George Anzinger
Subject: -gdwarf-2 and x.S files
Date: Wed, 06 Aug 2003 15:26:56 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021202

It would appear that asm files compiled thusly:

gcc -Wp,-MD,arch/i386/kernel/.entry.o.d -D__ASSEMBLY__ -D__KERNEL__ -Iinclude -Iinclude/asm-i386/mach-default -gdwarf-2 -nostdinc -iwithprefix include -traditional -c -o arch/i386/kernel/entry.o arch/i386/kernel/entry.S

produce debug records for the tmp file and NOT the .S file.
Version: GNU assembler 2.14.90 20030602
Running under a linux OS (Redhat 8.0) on a dual athlon system.

A snip of a gdb session:
(gdb) up
#3  0xc010a1f8 in common_interrupt () at /tmp/ccEF1Os3.s:1917
1917    /tmp/ccEF1Os3.s: No such file or directory.
        in /tmp/ccEF1Os3.s
Current language:  auto; currently asm
--------------------------------------------

Is any one working on using the #line info to correct this?
--
George Anzinger   address@hidden
High-res-timers:  http://sourceforge.net/projects/high-res-timers/
Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml





reply via email to

[Prev in Thread] Current Thread [Next in Thread]