This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Which version of gdb supports gcc 3.0 ABI?
- To: Joe Buck <jbuck at synopsys dot COM>
- Subject: Re: Which version of gdb supports gcc 3.0 ABI?
- From: Daniel Berlin <dberlin at redhat dot com>
- Date: 13 Mar 2001 13:28:38 -0500
- Cc: bryce at albatross dot co dot nz (Bryce McKinlay), gcc at gcc dot gnu dot org, rodrigc at mediaone dot net
- References: <200103131727.JAA24278@toledo.synopsys.com>
Joe Buck <jbuck@synopsys.COM> writes:
> > GDB 5.1 will support V3 symbol demangling (hopefully the release
> > schedules will be co-ordinated so that GDB 5.1 is available before/when
> > GCC 3.0 ships?). For now, you can grab the latest GDB out of CVS, or
> > perhaps just recompile your current GDB with an updated libiberty.
>
> Just updating libiberty will make the names demangle correctly, but
> there's also the issue of virtual function calls from the debugger,
> e.g.
>
> (gdb) call foo.bar(2,3)
>
> where bar is virtual. This may fail because of the new ABI.
Just a note, i have this fixed already, for the most part (it'll call
the right virtual function, except in the very complex cases i haven't
fixed yet)
it'll be submitted to sources soon.
--Dan