This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [Core] [RFC] dwarf debug information: Handle Free Pascal virtual table indexes
- From: Tom Tromey <tromey at redhat dot com>
- To: Jonas Maebe <jonas dot maebe at elis dot ugent dot be>
- Cc: FPC Core Developer List <core at freepascal dot org>, "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>, gdb-patches at sourceware dot org
- Date: Thu, 13 May 2010 14:53:40 -0600
- Subject: Re: [Core] [RFC] dwarf debug information: Handle Free Pascal virtual table indexes
- References: <23651.5388860882$1273672053@news.gmane.org> <m3zl04zyrz.fsf@fleche.redhat.com> <11064.3996195451$1273708856@news.gmane.org> <m38w7nvhz1.fsf@fleche.redhat.com> <D690278D-68ED-42B8-9FEE-B3ADF3F68DFA@elis.ugent.be>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "Jonas" == Jonas Maebe <jonas.maebe@elis.ugent.be> writes:
Jonas> I based that on what I saw gcc 4.0 (and 4.2) generate under Mac
Jonas> OS X for a virtual C++ method:
Thanks for pointing this out. It turns out that g++ is also doing the
wrong thing. I filed this today after asking Jason about it:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44126
So I guess we can safely try to reuse the existing C++ branch in the
DWARF reader for the Pascal case. Whatever we have to do to support a
fixed g++ will have to work in a backward-compatible way anyhow.
Tom