| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_GD,T_TO_NO_BRKTS_FREEMAIL |
| X-Spam-Check-By: | sourceware.org |
| MIME-Version: | 1.0 |
| In-Reply-To: | <20110314203051.GH7031@calimero.vinschen.de> |
| References: | <1299994671 DOT 5080 DOT 21 DOT camel AT YAAKOV04> <20110313113654 DOT GA22542 AT calimero DOT vinschen DOT de> <1300076662 DOT 3440 DOT 15 DOT camel AT YAAKOV04> <20110314095945 DOT GA356 AT calimero DOT vinschen DOT de> <illski$4oo$1 AT dough DOT gmane DOT org> <20110314203051 DOT GH7031 AT calimero DOT vinschen DOT de> |
| Date: | Tue, 15 Mar 2011 16:03:40 +0100 |
| Message-ID: | <AANLkTikZrtHtaQ8zOsS_Wg6EtMMA7L8BkLp8UgFWbLKY@mail.gmail.com> |
| Subject: | Re: Fedora Cygwin RPM repository |
| From: | Reini Urban <rurban AT x-ray DOT at> |
| To: | cygwin AT cygwin DOT com |
| Cc: | Corinna Vinschen <corinna-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 |
2011/3/14 Corinna Vinschen:
> On Mar 14 14:08, Ren=E9 Berber wrote:
>> On 3/14/2011 3:59 AM, Corinna Vinschen wrote:
>>
>> [snip]
>> > I also found another strange problem. =A0It's practically impossible to
>> > debug a Cygwin DLL built with this gcc/g++. =A0The debug line number
>> > information appears to be screwed up.
>>
>> You need gdb 7.0 or above (current is 7.2 and builds out of the box).
>> The info about this is in http://gcc.gnu.org/gcc-4.5/changes.html .
>
> Thanks for the info!
Or build with the old dwarf format, which gdb-6.8 understands:
-gdwarf-3 -gstrict-dwarf
gcc-4.5 uses dwarf4 features, gcc-4.3 and gdb-6.8 only understand dwarf3.
Within my perl config:
# cygwin still has the old gdb-6 debugger which does not understand
dwarf4 features from gcc-4.5
if ($Config{gccversion} =3D~ /^4\.[56]\./) {
my $gdb_ver =3D `gdb --version`;
if ($gdb_ver =3D~ /gdb 6\./) {
print "Adding extra_cflags=3D-gstrict-dwarf for gcc-4.5 for a
gdb-6 debugger which does not understand dwarf4 features\n";
$extra_cflags .=3D " -gstrict-dwarf";
}
}
--=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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |