From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8533 invoked by alias); 30 Oct 2002 19:00:56 -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 8439 invoked from network); 30 Oct 2002 19:00:54 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 30 Oct 2002 19:00:54 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 186z0k-0008Df-00; Wed, 30 Oct 2002 14:00:18 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 186y5o-0005V9-00; Wed, 30 Oct 2002 14:01:28 -0500 Date: Wed, 30 Oct 2002 11:00:00 -0000 From: Daniel Jacobowitz To: Kris Warkentin Cc: gdb@sources.redhat.com Subject: Re: gnu-v3-abi.c: problems w/ virtual base class Message-ID: <20021030190128.GA21129@nevyn.them.org> Mail-Followup-To: Kris Warkentin , gdb@sources.redhat.com References: <120101c28037$3ddb3d10$d8020c0a@catdog> <20021030172051.GA27733@nevyn.them.org> <121101c2803a$005145e0$d8020c0a@catdog> <20021030173438.GA8741@nevyn.them.org> <122501c2803c$2e278450$d8020c0a@catdog> <123101c28044$f5386340$d8020c0a@catdog> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <123101c28044$f5386340$d8020c0a@catdog> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-10/txt/msg00211.txt.bz2 On Wed, Oct 30, 2002 at 01:48:37PM -0500, Kris Warkentin wrote: > > > > objdump -x foo | grep _Z gave me nothing. You say there's an > autodetect > > > > routine? I'll have to look at it to see why it thinks we're gnu-v3 I > > > > suppose. > > > > > > It's in minsyms.c:install_minimal_symbols. Hmm, does a breakpoint on > > > switch_to_cp_abi turn up anything? > > > > Odd. According to that, it switched to gnu-v2. And it worked properly. > > What the heck is going on here? I just reproduced this from the PR about > 2 > > minutes ago and now I'm not seeing it. AAARGH!!! > > > > Sorry Daniel. I'm obviously losing my mind here so now I have to go back > > and reproduce it again. *sigh* > > Okay, I'm seeing it in the Neutrino hosted gdb, not Windows hosted. That's > the problem with 4 hosts and 5 targets...:-P > > I found the naughtiness. auto_solib_add is true on Neutrino but not on > Windows. Guess who defines _Zero in their libc? We do!! > > Doh. > > Thanks for the help. OK, that's the problem. What we should probably be doing in minsyms.c is checking for a valid v3 mangled name... -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer