This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA]: Turn on initial Ada support in GDB
- From: Paul Hilfinger <hilfingr at gnat dot com>
- To: cagney at gnu dot org
- Cc: brobecker at gnat dot com, jimb at redhat dot com,gdb-patches at sources dot redhat dot com
- Date: Fri, 1 Oct 2004 14:25:21 -0400 (EDT)
- Subject: Re: [RFA]: Turn on initial Ada support in GDB
- References: <20040927103327.450A8F2C33@nile.gnat.com> <4159A662.2090407@gnu.org> <20040930073351.6BE79F2BA6@nile.gnat.com> <415CADC5.6050205@gnu.org> <20041001102419.78F74F2D17@nile.gnat.com> <415D6817.50005@gnu.org>
X-Original-To: hilfingr@gnat.com
Date: Fri, 01 Oct 2004 10:22:15 -0400
From: Andrew Cagney <cagney@gnu.org>
User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040831
X-Accept-Language: en, en-us
To: Paul Hilfinger <hilfingr@gnat.com>
Cc: brobecker@gnat.com
Subject: Re: [RFA]: Turn on initial Ada support in GDB
In-Reply-To: <20041001102419.78F74F2D17@nile.gnat.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
X-Virus-Scanned: by amavisd-new at nile.gnat.com
I wrote to Andrew:
> Well, I can't commit the symtab.c changes until the Ada files are included,
> due to use of ada_decode_symbol.
Andrew responded:
> Oops! That's a bug in that patch -> we're ment to dispatch language
> specific stuff through the language vector.
Inasmuch as the symtab.c patch has been approved (twice), I'm getting
a little whipsawn here. I happen to agree with your sentiment, but
could we pretty please get this Ada stuff in, after which I promise to
look into the refactoring you have requested here? If you look at the
existing code (even before the modifications I put in some time ago to
add a necessary hook) there are specific tests in symtab.c for C++, C,
Java, Objc. OK; this is a design bug, but let's just say that it is a
TIC (Tenants in Common) sort of bug.
Paul