Mail Archives: djgpp/1997/09/26/13:15:46
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 DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE *
* WWW: http://www.tu-chemnitz.de/~rho *
*****************************************************************
- Raw text -