From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,INVALID_MSGID, SUBJ_ALL_CAPS autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9cbbe0868eddc595 X-Google-Attributes: gid103376,public From: "James W. Bennett" Subject: Re: GDB & GNAT Date: 1996/11/01 Message-ID: <327A8BF8.734241F2@tara-lu.com>#1/1 X-Deja-AN: 194335719 references: <3266455C.25F4@esy.com> <55arhm$t83@dfw.dfw.net> content-type: text/plain; charset=us-ascii organization: Tara-lu Corporation mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 3.0Gold (X11; I; Linux 2.0.18 i586) Date: 1996-11-01T00:00:00+00:00 List-Id: David Weller wrote: > > In article <3266455C.25F4@esy.com>, Hal Manuel wrote: > >Has anyone made an effort to incorporate the gdb-4.15.1.gnat.1.10 > >patch into gdb? I think that it would definitely be a plus to > >have gdb support debugging Ada programs, but I don't believe that > >gdb-4.16 supports it (nor is there a patch that I've been able to > >find to modify it to support it). > > > > Hopefully, Dr. Dewar will have a better answer for this, but the short > answer is: There ain't a solution for you. With the exception of the > SGI platform (well, there might be others), there is no halfway decent > source-level debugger available for GNAT. > > Cygnus is busy integrating GDB with Tk, so there may be a chance to > integrate Ada sensitivity into it. > > Paul Hilfinger, who did the work at UC Berkeley, indicated that the > effort to integrate the "GNAT" changes to 4.15 into 4.16 would be > "nontrivial". Actually, it was non-trivial, but not insurmountable. I've had one I've been testing and using since Oct 24. I haven't had a lot of time to dedicate to testing, but initial examing of structures, source and pointers to structures seem to work. It also works VERY well with ddd-2.0 which can make for a VERY nice GUI based debugging environment. Actually rivals DEC's debugger for ease of use... And DDD is designed to work with GDB and Ada. This was based on the version from UC Berkeley and 99% of the credit should go back to Paul Hilfinger. If anyone would like to test the changes feel free, you can get them at ftp://ftp.tara-lu.com/pub/gnat/gdb-4.16-gnat-3.05.diff.gz -- Jim Bennett Tara-Lu Corporation email: jimb@tara-lu.com Consulting Services Division voice: (907) 696-6138 16928 Park Place #3 www: http://www.tara-lu.com/~jimb/ Eagle River, AK 99577 pgp: finger jimb@tara-lu.com U.S.A.