X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_BJ X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 30 Sep 2010 16:25:07 +0200 Message-ID: Subject: Re: gcc-4.5 + gdb dwarf problems From: Reini Urban To: The Cygwin Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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=3D0x24a3d60) at pad.c:138 > 138 =A0 =A0 =A0 =A0 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 > =A0objdump -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-nt AT 1fdb04e0 DOT dll vs. Program received signal SIGSEGV, Segmentation fault. 0x00552f6b in Perl_pad_undef (cv=3D0x2323d60) at pad.c:290 290 && *SvPVX_const(namesv) =3D=3D '&') --=20 Reini Urban http://phpwiki.org/=A0 =A0 =A0 =A0 =A0=A0 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