From: comar@cs.nyu.edu (Cyrille Comar)
Subject: Re: debugging GNAT programs
Date: 4 Mar 1995 09:07:24 -0500
Date: 1995-03-04T09:07:24-05:00 [thread overview]
Message-ID: <3j9s6s$1kg@lang8.cs.nyu.edu> (raw)
In-Reply-To: VLADIMIR.95Mar2205718@speedy.intrepid.com
vladimir@speedy.intrepid.com (Vladimir Vukicevic) writes:
: In article <1995Mar2.095243.14051@sei.cmu.edu> marc@sei.cmu.edu (Marc
: Graham) writes:
: > (Anyway, gdb debugs the generated c code, not the Ada code. Which
: > makes it pretty useless.)
I have been extensively debugging GNAT code (written in Ada95) for 2
years with gdb and found it quite useful. The only awkward thing is
that you have to use the C syntax for expressions but this is
managable...
:
: Another thing to know is that if you want to step into a dispatching call,
: you have to step through some internal gnat procedures which find the address
: of the real function in the vtable.
Vladimir,
The procedure you are refering to (Get_Prim_Op_Address) is an artifact
that should be invisible to the direct user and will be as soon as
"inter-module inlining" is working: all the Dispatch-Table access
functions will be unconditionnally inlined... The only purpose of this
interface is to make the communication with other OO-Languages
possible as it is done now for C++.
--
------------------------------------------------------------------------
Cyrille Comar, E-mail: comar@cs.nyu.edu
Gnat Project US phone: (212) 998-3489
prev parent reply other threads:[~1995-03-04 14:07 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-03-02 14:52 debugging GNAT programs Marc Graham
1995-03-02 16:52 ` Robert A Duff
1995-03-03 2:47 ` Pug 156
1995-03-04 4:26 ` Tom Griest
1995-03-05 19:20 ` Bernard Banner
1995-03-06 19:34 ` Tom Griest
1995-03-02 22:23 ` Keith Thompson
1995-03-03 22:33 ` Robert S. White
1995-03-05 15:42 ` Robert Dewar
1995-03-05 15:52 ` Robert Dewar
1995-03-06 0:38 ` kkrieser
1995-03-06 15:14 ` Robert S. White
1995-03-03 4:57 ` Vladimir Vukicevic
1995-03-04 14:07 ` Cyrille Comar [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox