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=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,31b8879c52cdbc65 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Gnat on OpenVMS Date: 1999/05/22 Message-ID: <7i7ea9$91s$1@nnrp1.deja.com>#1/1 X-Deja-AN: 481007004 References: <7hshfq$5tc$1@front1.grolier.fr> <7i6aur$i1g$1@nnrp1.deja.com> <7i74fa$9e2$1@front6.grolier.fr> X-Http-Proxy: 1.0 x31.deja.com:80 (Squid/1.1.22) for client 129.37.79.66 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Sat May 22 23:23:54 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-05-22T00:00:00+00:00 List-Id: In article <7i74fa$9e2$1@front6.grolier.fr>, "Thierry Lelegard" wrote: > Honestly, I hardly understand why it was so difficult to > integrate with the VMS debugger. The format of the debug > tables > is public (appendix of the linker manual). Nobody said that it was "so difficult". I think Digital's decision to require GDB as the base was not necessarily based only bevcause it was difficult, although it would have been relatively expensive, since it would have required even more VMS-specific work in GNAT (which is a major maintenance issue as well as a development issue). Instead, my analysis is that Digital saw it as the best long term choice, since they knew that with GDB, unlike the VMS debugger, significant long term development and improvement efforts would continue. > All GNAT-specific > features could have been implemented by GNAT using a DBGEXT > entry in the GNAT RTL. The syntax of data is similar in Ada > 83 and 95 and is already supported by the VMS debugger. There are many features that would NOT have been well supported, e.g. modular types, child units, tagged types (as you note), Ada 95 attributes. In addition, there are places where GNAT uses a different approach from DEC Ada 83, and so the fact that the debugger supports the Ada 83 approach would not help GNAT (e.g. proper support of fat pointers for unconstrained types). We did actually provide some minimal compatibility with the VMS debugger to get the VMS traceback working correctly (so line numbers and subprogram entries can be understood), but the types do not attempt to use DEC Ada 83. Robert Dewar Ada Core Technologies --== Sent via Deja.com http://www.deja.com/ ==-- ---Share what you know. Learn what you don't.---