[gps-users] GPS Debug Problems
Umut DURAK
udurak at sage.tubitak.gov.tr
Fri May 27 08:18:07 CEST 2005
Hello,
Thanks for you attention. How can I understand which one is my problem?
My gdb version is GNU gdb Red Hat Linux (6.1post-1.200040607.62rh), here for this case, İ can debug thrpugh ada code in GPS , setbreak points and navigate, besides from data, i can use Display Local Variables and see some of them. So I don't think my gbd isn't ada-awere.
The second one debug information generated by gnat can be problematic. Here i will try to debug it from command line to see if there is a problem about gnat-gdb family or in GPS in 20042804 dated build. Besides I try to download the latest snapsot from libre site but it is not available right now (i don't know why).
Regards
Umut
-----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