From: "Rodrigo García" <rodrigo.garcia@epfl.ch>
Subject: Re: debugging ada with gdb
Date: Tue, 25 Feb 2003 09:32:55 +0100
Date: 2003-02-25T09:32:55+01:00 [thread overview]
Message-ID: <3E5B2A37.9020604@epfl.ch> (raw)
In-Reply-To: 3e5aa6ba$1_4@news.arrakis.es
alfonso acosta wrote:
> Hi:
>
> Im trying to debug an Ada program compiled with gnat 3.14p-3.
> Im using "GNU gdb 5.3-debian" with gvd.
>
> The problem is that I cant use ada expressions when debugging, I have to
> guess what identifier correponds to each variable.
>
> If I finally manage to know whats the name for a structured variable (an
> array, a record etc.. ) and I print it, I get a strange structure, maybe
> GNATs internal representation.
>
> Im using incompatible debugger and compiler versions?
>
>
> Thanks in Advance
>
> Alfonso Acosta
>
> PS: Im using Debian GNU/Linux (sid)
>
Use the gdb that comes with your GNAT distribution (look at "bin"
folder). It should output something like this:
GNU gdb 5.1.1.gnat.3.15p
Copyright 2002 Free Software Foundation, Inc.
Ada Core Technologies version of GDB for GNAT Professional
....
Then, take a look at chapter 23 of GNAT's Users Guide.
Rodrigo
PD: What about your "waiting for signals" problem? Did you try what I
told you?
next prev parent reply other threads:[~2003-02-25 8:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-24 23:09 debugging ada with gdb alfonso acosta
2003-02-25 8:32 ` Rodrigo García [this message]
2003-02-25 10:38 ` Preben Randhol
2003-02-25 15:46 ` alfonso acosta
2003-02-25 15:54 ` Preben Randhol
2003-02-25 19:00 ` alfonso acosta
2003-02-26 8:23 ` Preben Randhol
2003-02-27 6:59 ` Oliver Kellogg
2003-02-27 12:29 ` Preben Randhol
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox