This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gnu-v3-abi.c: problems w/ virtual base class
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