From: Duncan Sands <baldrick@free.fr>
To: tmoran@acm.org, comp.lang.ada@ada-france.org
Subject: Re: Gnat's Ada.Float_Text_IO.Put problem
Date: Fri, 16 Jan 2004 10:45:28 +0100
Date: 2004-01-16T10:45:28+01:00 [thread overview]
Message-ID: <mailman.10.1074246338.303.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <7zNNb.78359$8H.114976@attbi_s03>
On Friday 16 January 2004 09:48, tmoran@acm.org wrote:
> > Wouldn't it be better to recompile the GNAT runtime library with
> > debugging turned on (-g), and step through it with the debugger
> > to find out exactly where things are going wrong?
>
> I'm in favor of debugging incorrect programs. But was the OP
> interested in debugging Gnat or in running some program, and getting
> correct output, of his own?
One way of getting a correctly running program is to fix GNAT yourself.
For the runtime library this often isn't hard.
> Also, isn't that version of Gnat already
> obsolete and replaced by a less buggy one?
I didn't follow the thread, so I don't know which version it was - gcc-3.3?
> Suggesting that ACT or
> somebody knows about and has fixed the bug.
> And stepping through with a debugger is such a tedious method of
> debugging it's pretty near a last resort, for me at any rate.
It is tedious, but when you are trying to find out where things are going
wrong in a mass of code you are unfamiliar with (like the runtime library),
it can be quite helpful.
All the best,
Duncan.
next prev parent reply other threads:[~2004-01-16 9:45 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-14 13:39 Gnat's Ada.Float_Text_IO.Put problem Stefano M.
2004-01-14 14:58 ` Adrian Knoth
[not found] ` <8c4gd1-ifb.ln1@beastie.ix.netcom.com>
2004-01-14 16:11 ` Stefano M.
2004-01-14 16:44 ` Adrian Knoth
2004-01-15 8:14 ` Stefano M.
2004-01-15 8:39 ` Adrian Knoth
2004-01-15 18:50 ` tmoran
2004-01-16 8:23 ` Duncan Sands
2004-01-16 8:48 ` tmoran
2004-01-16 9:45 ` Duncan Sands [this message]
2004-01-16 13:18 ` Jeff C,
2004-01-16 13:52 ` Duncan Sands
2004-01-15 1:55 ` Georg Bauhaus
2004-01-15 8:46 ` Stefano M.
2004-01-15 11:56 ` Georg Bauhaus
2004-01-15 11:02 ` Stefano M.
2004-01-15 14:20 ` Georg Bauhaus
2004-01-15 1:50 ` Jeff C,
2004-01-15 8:18 ` Stefano M.
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox