This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Which version of gdb supports gcc 3.0 ABI?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]