From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28576 invoked by alias); 2 Apr 2009 16:25:58 -0000 Received: (qmail 28555 invoked by uid 22791); 2 Apr 2009 16:25:54 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Apr 2009 16:25:45 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n32GPevg001485; Thu, 2 Apr 2009 12:25:40 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n32GPcOd020216; Thu, 2 Apr 2009 12:25:39 -0400 Received: from lindt.uglyboxes.com (sebastian-int.corp.redhat.com [172.16.52.221]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n32GPZNw024494; Thu, 2 Apr 2009 12:25:37 -0400 Message-ID: <49D4E6FE.1070506@redhat.com> Date: Thu, 02 Apr 2009 16:25:00 -0000 From: Keith Seitz User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: drow@false.org CC: gdb-patches@sourceware.org Subject: Re: [RFC] Special casing dtors? References: <49CAB139.8010100@redhat.com> <49CD2F0F.8040203@redhat.com> <49CDD4C1.1080306@redhat.com> <200903301658.16807.pedro@codesourcery.com> <49D3FCC9.7090505@redhat.com> <20090402031706.GA16898@caradoc.them.org> In-Reply-To: <20090402031706.GA16898@caradoc.them.org> Content-Type: multipart/mixed; boundary="------------020400030103040909070206" X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-04/txt/msg00037.txt.bz2 This is a multi-part message in MIME format. --------------020400030103040909070206 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 496 Daniel Jacobowitz wrote: > On Wed, Apr 01, 2009 at 04:46:17PM -0700, Keith Seitz wrote: > I don't understand the patch - would you mind posting affected stabs > from 4.2 and HEAD? Sounds like GCC made the incompatible change here, > not GDB. Stabs attached. Gcc did make the change, but as Pedro pointed out in a previous note, "GDB has to cope with code produced from older compilers as well." Since 4.2.0 and 4.2.4 are long out the door, I was simply attempting to accommodating. Keith --------------020400030103040909070206 Content-Type: text/plain; name="affected-stabs.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="affected-stabs.txt" Content-length: 1291 gcc 4.2.4: 40 LSYM 0 454 00000000 4211 T5:Tt(0,62)=s8X:/2(0,7):_ZN2T5IiE1XE;x:(0,7),0,32;val:(0,7),32,32;__base_ctor ::(0,63)=#(0,62),(0,20),(0,64)=*(0,62),(0,7),(0,20);:_ZN2T5IiEC2Ei;2A.;__comp_ctor ::(0,63):_ZN2T5IiEC1Ei;2A.;__base_ctor ::(0,65)=#(0,62),(0,20),(0,64),(0,66)=&(0,67)=k(0,62),(0,20);:_ZN2T5IiEC2ERKS0_;2A.;__comp_ctor ::(0,65):_ZN2T5IiEC1ERKS0_;2A.;__base_dtor ::(0,68)=#(0,62),(0,20),(0,64),(0,20);:_ZN2T5IiED2Ev;2A.;__comp_dtor ::(0,68):_ZN2T5IiED1Ev;2A.;operator new::(0,60):_ZN2T5IiEnwEj;2A?;operator delete::(0,37):_ZN2T5IiEdlEPv;2A?;value::(0,69)=#(0,62),(0,7),(0,64),(0,20);:_ZN2T5IiE5valueEv;2A.;; gcc HEAD: 40 LSYM 0 454 00000000 3650 T5:Tt(0,54)=s8X:/2(0,4):_ZN2T5IcE1XE;x:(0,4),0,8;val:(0,9),32,32;__base_ctor ::(0,55)=#(0,54),(0,21),(0,56)=*(0,54),(0,9),(0,21);:_ZN2T5IcEC2Ei;2A.;__comp_ctor ::(0,55):_ZN2T5IcEC1Ei;2A.;__base_ctor ::(0,57)=#(0,54),(0,21),(0,56),(0,58)=&(0,59)=k(0,54),(0,21);:_ZN2T5IcEC2ERKS0_;2A.;__comp_ctor ::(0,57):_ZN2T5IcEC1ERKS0_;2A.;__base_dtor ::(0,60)=#(0,54),(0,21),(0,56),(0,21);:_ZN2T5IcED2Ev;2A.;__comp_dtor ::(0,60):_ZN2T5IcED1Ev;2A.;operator new::(0,61)=f(0,29):_ZN2T5IcEnwEj;2A?;operator delete::(0,38):_ZN2T5IcEdlEPv;2A?;value::(0,62)=#(0,54),(0,9),(0,56),(0,21);:_ZN2T5IcE5valueEv;2A.;; --------------020400030103040909070206--