This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.


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

Re: Patch for DW_TAG_subrange_type




Jim Blandy wrote:
> 
> > The dwarf2 reader doesn't support subrange types when they aren't an array
> > index.  Ada has such types and Aonix ObjectAda generates this dwarf2
> > structure.
> 
> Thanks for the patches.  So you're contributing Ada support to GDB,
> huh?  Should I expect ada-lang.c, ada-exp.c, etc. soon?  :)
> 

I tested my changes on top of the GNAT patches for adding Ada support.  But the
problems seemed more related to the dwarf-2 reader directly than with the Ada
support, although it is admittedly a grey area.

I've made the assumption that the gdb patches for Ada from GNAT/ACT are
uninteresting for the gdb baseline, but this may not be the case?  The patches
for adding 4.17 are available in src/gdb-4.17.gnat.diff contained in the file
ftp://ftp.cs.nyu.edu/pub/gnat/gnat-3.11p-src.tar.gz
This includes ada-lang.c, ada-exp,c, etc.  I'd certainly be happy if these made
there way into the baseline for gdb (the stuff in the tar file is GPL'ed).  What
are the roadblocks to adding this to the baseline?

-Brian Nettleton
begin:vcard 
n:Nettleton;Brian
x-mozilla-html:FALSE
org:Aonix
adr:;;5040 Shoreham Place;San Diego;CA;92122;USA
version:2.1
email;internet:bn@aonix.com
title:Senior Software Engineer
tel;fax:619-824-0212
tel;work:619-457-2700
x-mozilla-cpt:;0
fn:Brian Nettleton
end:vcard