2010/9/30 Reini Urban:
> I think I've found an issue with the new gcc-4.5 with latest gdb.

> Program received signal SIGSEGV, Segmentation fault.
> 0x0068391b in Perl_pad_undef (cv=0x24a3d60) at pad.c:138
> 138         PERL_ARGS_ASSERT_PAD_PEG;
>
> If linked to the dll the cv argument is missing.
>
> And the correct src line is pad.c:256, not pad.c:138
>  objdump -S -gl ccode27_o2.exe|^egrep -7 ^Perl_pad_undef

I've crosschecked with mingw gdb-7.1 and the linenumber
looks better there.

Just the arguments for functions inside the dll are also not displayed:

Program received signal SIGSEGV, Segmentation fault.
0x54a4d00b in Perl_pad_undef ()
   from D:\cygwin\usr\local\bin\cygperl5_13_5d...@1fdb04e0.dll

vs.
Program received signal SIGSEGV, Segmentation fault.
0x00552f6b in Perl_pad_undef (cv=0x2323d60) at pad.c:290
290                     && *SvPVX_const(namesv) == '&')

-- 
Reini Urban
http://phpwiki.org/           http://murbreak.at/

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to