www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/30/10:25:25

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: <AANLkTimXmD3hSxN1uMjD+Ox-SBxJ-hN+VgkrvYpuJh4Z@mail.gmail.com>
References: <AANLkTimXmD3hSxN1uMjD+Ox-SBxJ-hN+VgkrvYpuJh4Z AT mail DOT gmail DOT com>
Date: Thu, 30 Sep 2010 16:25:07 +0200
Message-ID: <AANLkTikE=xC5HM9UbcnxWoh6OzaPEbJpkfJjFsOSiqzt@mail.gmail.com>
Subject: Re: gcc-4.5 + gdb dwarf problems
From: Reini Urban <rurban AT x-ray DOT at>
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019