comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Hoehne <Robert.Hoehne@Mathematik.TU-Chemnitz.DE>
To: q9522772@mail.connect.usq.edu.au
Subject: Re: RHIDE 1.3, GNAT (for DOS) and GDB - problem with watches
Date: 1997/09/24
Date: 1997-09-24T00:00:00+00:00	[thread overview]
Message-ID: <342904E3.7D2C7936@Mathematik.TU-Chemnitz.DE> (raw)
In-Reply-To: 3427DB4E.7548@mail.connect.usq.edu.au


Matthew Kennedy wrote:
> 
> Hello,
> 
> I'm having trouble debugging my Ada code under the RHIDE environment. I
> am using an Ada 'aware' version of GDB and the Ada compiler is DOS GNAT.

An here is one of the problems. If the ADA maintainer would send the
gdb patches to the gdb maintainer (or when they have sent then if they
would accepted) RHIDE's builting gdb would have also the ADA debugging
patches. At least RHIDE 1.3c uses the latest GDB snapshot which is from
17. August 1997 and I checked it and there seems nothing related to
ADA.

> The problem is that the IDE doesn't seem to recognise any Ada variable
> names when I set watches - instead I get 'variable_x: Not Available'

In my opinion you can solve this by reading the ADA docs (I took a short
look at them and found it) to get infomation, how the ADA compiler
mangles
the variable names and you have to use this technique also for accessing
the variable.

> Maybe there's some sort of pre/suffix for variable names that will get
> me around this problem?
This is documented in the ADA-docs.

Robert
-- 
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post:    Am Berg 3, D-09573 Dittmannsdorf                     *
* e-Mail:  Robert.Hoehne@Mathematik.TU-Chemnitz.DE              *
* WWW:     http://www.tu-chemnitz.de/~rho                       *
*****************************************************************




      reply	other threads:[~1997-09-24  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-24  0:00 RHIDE 1.3, GNAT (for DOS) and GDB - problem with watches Matthew Kennedy
1997-09-24  0:00 ` Robert Hoehne [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