comp.lang.ada
 help / color / mirror / Atom feed
From: escheria@my-dejanews.com
Subject: Re: Using the SDS SingleStep Debugging Suite for Ada???
Date: 1998/10/09
Date: 1998-10-09T00:00:00+00:00	[thread overview]
Message-ID: <6vlf4t$qd1$1@nnrp1.dejanews.com> (raw)


>><<I'd like to be able to use the SDS SingleStep debugging suite for code
compiled
>>with the Rational Ada compiler. The SingleStep debugger is intended only for
C,
>>C++, and Assembly code, however I'm presently able to get it to work for Ada
>>with limited capabilities. Specifically, I can step, set breakpoints, step
>>into/over, but I cannot perform data operations (Read, Evaluate/Modify, etc.).
>>It doesn't seem to have the data necessary to see global and local variables.
>>
>>Has anyone else tried this? Any ideas on what specific data (and the required
>>format) I might be able to provide to SingleStep?
>>
>>
>>I don't know this particular tool, but if it works for C, then presumably
>>it uses the standard system debugging formats.
>>
>>An advantage of the GNAT debugging approach is that it is easy to interface
with
>>
>>such tools. GNAT generates output in standard system debugging format,
together
>>with encodings that fully describe Ada structures not directly descriabable
in C.
>>These encodings can be used in two ways
>>
>>a) an Ada aware debugger like GNAT or SGI Workshop can use these debuggers to
>>provide full access to all Ada data structures in a transparent manner.
>>
>>b) a standard C debugger can be used for displaying data that corresponds
>>to C formats (e.g. simple data, simple records, simple arrays etc).
>>Furthermore, since the encodings use standard C interfaces (e.g. they are
>>encoded type names). Using the full documentation of the encoding (it is in
>>the file exp_dbug.ads) a user can use these encodings to extract more detailed
>>informatoin manually.

Can GNAT be used as an intermediaye between the output of the Rational Ada
compiler and the input to the SDS Single Step On Chip Debugger?

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




             reply	other threads:[~1998-10-09  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-09  0:00 escheria [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-07-19  0:00 Using the SDS SingleStep Debugging Suite for Ada??? Escheria
1998-07-18  0:00 ` Corey Ashford
1998-07-20  0:00 ` Robert Dewar
1998-07-21  0:00   ` Pascal Obry
1998-07-21  0:00     ` Robert Dewar
replies disabled

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