[gps-users] GPS Debug Problems

Umut DURAK udurak at sage.tubitak.gov.tr
Fri May 27 11:24:16 CEST 2005


I think I found the pronlem. Problem seems to be the casing. Gdb converts everything to lower case. İf i ask gdb top pring the related variable in lower case it returs th value. But if i ask the variable in the original casing  (it is always mixed because of styling issues)then it says  "No symbol "variabl_name" in current context". In GPS case, i think gps always asks the variables in their original casing in print and display operations and it causes the problem. Any suggestion to solve it?

-----Original Message-----
From: gps-users-bounces at lists.adacore.com [mailto:gps-users-bounces at lists.adacore.com] On Behalf Of Nicolas Setton
Sent: Thursday, May 26, 2005 8:07 PM
To: Umut DURAK
Cc: gps-users
Subject: Re: [gps-users] GPS Debug Problems

Hello Utmut,

> I am running on GPS 3.0.0 hosted on i686-pc-linux-gnu and GNAT
> 3.4.3 20041212(RedHat 3.4.9.EL4). When i try to debug a code, at first 
> as i start the debug i get "Language unknown, defaulting to 
> C:mininmal" in Messages tab and "Current language: autı; currently 
> minimal" in Debug Console. I think they are no good as far as i can't 
> figure out why.
> Then as i tried to print a variable in Debug Console again it says 
> that No symbol "variabl_name" in current context". it is in the 
> context. i compiled and build with debug switch. Then when i try to 
> display it, it says in Messages "Could not get the type of 
> 'variable_name'".
> Anything wrong with me? I mean, do i miss to set something or any 
> problem with GPS?

My guess is that either
   - you don't have an ada-aware version of "gdb" in your PATH (GPS uses gdb as debugging engine), or
   - the debug information generated by your version of GNAT is not correct

(but the first guess is more likely the right one)

Cheers,

Nico_______________________________________________
gps-users mailing list
gps-users at lists.adacore.com
/no-more-mailman.html


More information about the gps-users mailing list