comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeff Creem" <jcreem@atetola.mv.com>
Subject: Re: gdb question, was Re: Ada vs. C++
Date: 2000/03/07
Date: 2000-03-08T01:26:57+00:00	[thread overview]
Message-ID: <8a4a91$q13$1@pyrite.mv.net> (raw)
In-Reply-To: 952459362.11185.1.nnrp-12.d4e5bde1@news.demon.co.uk


Mike Dimmick <mike@dimmick.demon.co.uk> wrote in message
news:952459362.11185.1.nnrp-12.d4e5bde1@news.demon.co.uk...

>
> My own experience with gdb, under linux, was very nasty -- though it may
> have been the version of gdb (4.17.0.11): it insisted on listing the C
> files that GNAT generated rather than my source files!  All I wanted to
> find out was where I was getting an exception raised.
>
> I ended up recompiling the program (which was minimal anyway) under
> Windows and using GDB/TK to find the source line.  This release actually
> told me under the backtrace where the error was occurring.
>

Actually GNAT only generates 1 c file (and the newer versions don't even
have to do that).

If you had checked the documentation and/or stepped into the code a little
the ada would have
magically appeared... Of course I am assuming that you had the Ada aware
gdb....(And even
if you did not, you could still see the Ada source).

I do prefer the ddd interface to gdb...Makes it much easier to use when you
don't use gdb
much.

As always I would recommend consulting the super secret hidden information
about gdb and GNAT the the
files who's names can not be mentioned...








  reply	other threads:[~2000-03-07  0:00 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-11  0:00 Ada vs. C++ G
2000-02-11  0:00 ` Ted Dennison
2000-02-11  0:00 ` Preben Randhol
2000-02-11  0:00 ` Gautier
2000-02-11  0:00   ` Bobby D. Bryant
2000-02-14  0:00     ` Larry Kilgallen
2000-02-11  0:00 ` Tarjei T. Jensen
2000-02-11  0:00   ` Preben Randhol
2000-02-11  0:00   ` Florian Weimer
2000-02-14  0:00     ` Gisle S�lensminde
2000-02-11  0:00   ` Gary
2000-02-14  0:00     ` Tarjei T. Jensen
2000-02-14  0:00 ` Vincent DIEMUNSCH
2000-02-14  0:00   ` Gautier
2000-02-15  0:00   ` Richard D Riehle
2000-02-15  0:00     ` gdb question, was " tmoran
2000-02-15  0:00       ` Ehud Lamm
2000-02-15  0:00       ` Ted Dennison
2000-02-16  0:00       ` Stephen Leake
2000-02-16  0:00       ` Robert A Duff
2000-03-07  0:00         ` Mike Dimmick
2000-03-07  0:00           ` Jeff Creem [this message]
2000-02-15  0:00 ` Marin D. Condic
2000-03-04  0:00   ` Robert I. Eachus
2000-03-04  0:00     ` Tarjei Tj�stheim Jensen
2000-03-04  0:00     ` Marin D. Condic
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox