comp.lang.ada
 help / color / mirror / Atom feed
From: "Corey Ashford" <corSPAMey@rational.com>
Subject: Re: Using the SDS SingleStep Debugging Suite for Ada???
Date: 1998/07/18
Date: 1998-07-18T00:00:00+00:00	[thread overview]
Message-ID: <6orn9s$1nh$1@usenet.rational.com> (raw)
In-Reply-To: 1998071902425500.WAA29899@ladder03.news.aol.com


Escheria wrote in message <1998071902425500.WAA29899@ladder03.news.aol.com>...
>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?
>
>Thanks you.

Local variables you'll have trouble with.

Globals should be a little easier.  There are two options:

1) Figure out what symbol the Ada compiler is emitting for
the global variable you are interested in and try using that in
your debugger.  I don't know what object module format you are
using, but there's probably a tool like nm that can be used.

2) Use pragma export to give your global variables names which
are easy to type (and use in the debugger).

good luck

- Corey







  reply	other threads:[~1998-07-18  0:00 UTC|newest]

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

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