comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: GNAT Codesize
Date: 1996/06/30
Date: 1996-06-30T00:00:00+00:00	[thread overview]
Message-ID: <dewar.836136852@schonberg> (raw)
In-Reply-To: 835984668.12569.0@assen.demon.co.uk


John McCabe said (speaking of symbol information in executables)

  "Good point, however there would be the advantage that when you wanted
   to ditch it, you just have to delete the symbol file without touching
   the executable."

Seems irrelevant, it is perfectly easy to strip the executable. There may
be some systems in which you cannot strip an executable, but the best
thing would be to fix this obvious lack of functionality.

  ">(b) you don't load the symbol information, so it would not save load time
   But don't you still have to decide which bits to load and not to load?
   If you didn't have to make that decision, there presumably would be
   some [probably unnoticeable] reduction in the load time.

Well I suppose you have to store and read one extra word of information
in the file, which might take a few extra microseconds. However, from
a performance point of view it is much better to keep all the information
in one file than two, since you save directory search time, as someone
else already pointed out.

  ">(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.





  parent reply	other threads:[~1996-06-30  0:00 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-20  0:00 GNAT Codesize Haug Buerger
1996-06-20  0:00 ` James E. Hopper
1996-06-21  0:00 ` Robert Dewar
1996-06-24  0:00   ` John McCabe
1996-06-24  0:00     ` John Howard
1996-06-25  0:00       ` Robert Dewar
1996-06-25  0:00       ` David J. Fiander
1996-06-26  0:00     ` Robert Dewar
1996-06-28  0:00       ` Fergus Henderson
1996-07-01  0:00         ` Michael Feldman
1996-07-03  0:00           ` John McCabe
1996-07-02  0:00         ` John McCabe
1996-07-03  0:00           ` Robert Dewar
1996-07-06  0:00             ` John McCabe
1996-07-06  0:00               ` Robert Dewar
1996-07-06  0:00               ` Michael Feldman
1996-07-08  0:00             ` Gavin Smyth
1996-06-28  0:00       ` John McCabe
1996-06-28  0:00         ` Fergus Henderson
1996-06-29  0:00           ` John McCabe
1996-07-01  0:00             ` Robert Dewar
1996-07-05  0:00               ` John McCabe
1996-07-05  0:00             ` JP Thornley
1996-06-30  0:00         ` Robert Dewar [this message]
1996-07-02  0:00           ` John McCabe
1996-07-03  0:00             ` Robert Dewar
1996-07-03  0:00   ` Question about the need for requeue as described in Rationale James A. Squire
1996-07-05  0:00     ` Bo I. Sanden
1996-07-05  0:00       ` progers
1996-07-06  0:00     ` Robert A Duff
1996-07-04  0:00   ` Samuel Tardieu
1996-07-04  0:00     ` Robert Dewar
1996-07-08  0:00   ` James A. Squire
1996-07-08  0:00   ` James A. Squire
1996-07-08  0:00     ` Robert A Duff
1996-07-09  0:00     ` Bo I. Sanden
1996-07-08  0:00   ` James A. Squire
1996-07-09  0:00     ` progers
1996-07-10  0:00     ` Robert A Duff
1996-07-10  0:00       ` progers
1996-07-09  0:00   ` Jon S Anthony
1996-06-21  0:00 ` GNAT Codesize Ralph Paul
1996-06-21  0:00 ` Doug Smith
1996-07-08  0:00 ` Question about the need for requeue as described in Rationale James A. Squire
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox