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 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6ff6ac051491e437 X-Google-Attributes: gid103376,public From: john@assen.demon.co.uk (John McCabe) Subject: Re: GNAT Codesize Date: 1996/07/02 Message-ID: <836339494.14712.1@assen.demon.co.uk>#1/1 X-Deja-AN: 163349964 x-nntp-posting-host: assen.demon.co.uk references: <31c8fdd4.5a455349@zesi.ruhr.de> <835637893.1349.0@assen.demon.co.uk> <835984668.12569.0@assen.demon.co.uk> newsgroups: comp.lang.ada Date: 1996-07-02T00:00:00+00:00 List-Id: dewar@cs.nyu.edu (Robert Dewar) wrote: >John McCabe said (speaking of symbol information in executables) <..snip..> > ">(c) it would violate system standards, which are to keep debugging > > information in the objects and executables. The GNAT approach > > is deliberately system standard compatible to allow use of > > standard debuggers. > Yes, that appears reasonable. Obviously this tends not to be so > important in the cross-compilation systems I mentioned as they must > provide their own proprietary debuggers and processor simulators. >Actually in my experience this is exactly wrong. It is for cross-development >that it is most critical to generate debugging information in standard >system format. For example, many of the hardware emulators provide builtin >debugging capability based on generation of symbol information in object >files and executables in the standard format. Such systems will typically >have utilities to strip/remove/process this information in a form that is >suitable for the emulator use, but it is critical that it be generated in >standard format. In fact thinking about cross-systems is one of the strong >arguments in favor of the GNAT approach of using standard debugging info. Not in my experience. My current compiler uses a proprietary format and even when using an Tek emulator with a Tek 8086 Pascal cross-compiler on a VAX we had to use a separate utility to format the output for use in the emuulator. Best Regards John McCabe