From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10891a,c863b7de68ced759 X-Google-Attributes: gid10891a,public X-Google-Thread: 103376,c863b7de68ced759 X-Google-Attributes: gid103376,public From: Robert Hoehne Subject: Re: RHIDE 1.3, GNAT (for DOS) and GDB - problem with watches Date: 1997/09/24 Message-ID: <342904E3.7D2C7936@Mathematik.TU-Chemnitz.DE>#1/1 X-Deja-AN: 275150269 References: <3427DB4E.7548@mail.connect.usq.edu.au> To: q9522772@mail.connect.usq.edu.au Organization: TU Chemnitz-Zwickau Newsgroups: comp.os.msdos.djgpp,comp.lang.ada Date: 1997-09-24T00:00:00+00:00 List-Id: 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 * *****************************************************************