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?
On Tue, Mar 13, 2001 at 09:27:29AM -0800, Joe Buck wrote:
>
> > 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.
I don't like to do things piecemeal, because that usually leads to problems.
I just compiled the snapshot:
GNU gdb 20010313
and it seems to correctly demangle V3 symbols.
--
Craig Rodrigues
http://www.gis.net/~craigr
rodrigc@mediaone.net