From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31617 invoked by alias); 31 Dec 2003 03:38:41 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 31610 invoked from network); 31 Dec 2003 03:38:40 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 31 Dec 2003 03:38:40 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1AbXBt-0006OV-T0; Tue, 30 Dec 2003 22:38:37 -0500 Date: Wed, 31 Dec 2003 03:38:00 -0000 From: Daniel Jacobowitz To: Michael Elizabeth Chastain Cc: gdb@sources.redhat.com Subject: Re: gcc HEAD rearranges stabs members Message-ID: <20031231033837.GA24563@nevyn.them.org> Mail-Followup-To: Michael Elizabeth Chastain , gdb@sources.redhat.com References: <20031231011932.11CAF4B35A@berman.michael-chastain.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031231011932.11CAF4B35A@berman.michael-chastain.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-12/txt/msg00292.txt.bz2 On Tue, Dec 30, 2003 at 08:19:32PM -0500, Michael Chastain wrote: > drow> Might want to ping GCC about why this happened. > > It happened because the default abi version increased from 1 to 2. > > http://gcc.gnu.org/ml/gcc-patches/2003-12/msg01995.html > C++ PATCH: Change default ABI version to 2 > > Specifically, in cp/class.c:add_implicitly_declared_members, > there is a test on ABI version: > > if (abi >= 2) > /* G++ 3.2 put the implicit destructor at the *beginning* of the > list, which cause the destructor to be emitted in an incorrect > location in the vtable. */ > TYPE_METHODS (t) = chainon (TYPE_METHODS (t), implicit_fns); Oh cute. Debug info is emitted in vtable order, so that explains why the output changed. Thanks for looking it up! -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer