This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: further help on dwarf2 debug


On 24 Sep 2009, at 10:27, Dominique Dhumieres wrote:

With revision 152076 on i686-apple-darwin9 bootstrapped as described
in comment#61 of pr41405, I get:

[ibook-dhum] bug/debug% gcc45 -c -save-temps -dA -g -O0 -fverbose- asm -gno-strict-dwarf simplistic.c
[ibook-dhum] bug/debug% dwarfdump --debug-frame simplistic.o
----------------------------------------------------------------------
File: simplistic.o (i386)
----------------------------------------------------------------------
.debug_frame contents:


<snip>

               DW_CFA_nop
                DW_CFA_nop
                0x00000011: CFA=esp+4     ebp=[esp-4]  eip=[esp+4]
(same result with -gstrict-dwarf).

So, this particular bug appears to be cleared at


dwarfutils-66 or greater. (confirmed at dwarfutils-70 as well)

(It does not seem to affect powerpc-apple-darwin8 which only has dwarfutils-42,
but I can't speak for i686-apple-darwin-8)


Thanks. I'll now start to try and track down the orig_sym one.

Following Jakub Jelinek's advice (sorry I cannot find the post) I have tried the
tests in gcc/testsuite/gcc.dg/guality/, but did not get any failure.

I'm currently regtesting 152114/i686-apple-darwin9 with my default gstrict-dwarf patch and -g{no-,)gstrict-dwarf.


Iain


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]