This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Status of Gdb support for new ABI?
- To: Jason Merrill <jason at redhat dot com>
- Subject: Re: Status of Gdb support for new ABI?
- From: teg at redhat dot com (Trond Eivind Glomsrød)
- Date: 29 Jan 2001 15:18:10 -0500
- Cc: Per Bothner <per at bothner dot com>, gcc-sc at goof dot com, gdb at sources dot redhat dot com
- Organization: Red Hat, Inc.
- References: <m2d7dg1mnt.fsf@kelso.bothner.com><u9elxvlebv.fsf@casey.cambridge.redhat.com>
Jason Merrill <jason@redhat.com> writes:
> >>>>> "Per" == Per Bothner <per@bothner.com> writes:
>
> > How well does Gdb handle the new ABI? This is actually two questions:
> > (1) How well does cvs trunk of Gdb handle the new ABI?
>
> It handles the mangling properly. I don't think there is any specific
> support for the new ABI object model yet, and the dwarf2 output hasn't yet
> been expanded to give the debugger a more complete idea of, say, how to
> find virtual bases.
>
> > (2) How well does the current Gdb release handle the new ABI?
>
> It doesn't handle the new mangling at all.
>
> > I'm guessing that the answer to (1) is 'ok' and that of (2) is 'not'.
> > One could argue that it is not acceptable for the current Gdb to
> > be unable to (reasonably) debug C++ programs generated by the current Gcc.
> > The implication is: We need to make sure Gdb 5.1 is released on
> > or before GCC 3.0 is released. Is this possible? Am I wrong?
>
> If necessary, we could make a minor release of GDB that just updates the
> demangler. That would be pretty straightforward.
Could you please add the patches so it works on IA64 and alpha as
well? :)
--
Trond Eivind Glomsrød
Red Hat, Inc.