From: jerry@jvdsys.nextjk.stuyts.nl (Jerry van Dijk)
Subject: Re: DBG for gnat?
Date: 1996/04/29
Date: 1996-04-29T00:00:00+00:00 [thread overview]
Message-ID: <DqnCEF.5B@jvdsys.nextjk.stuyts.nl> (raw)
In-Reply-To: 4m1kpj$4u3@sol.towson.edu
Neck-Foo (brown@zeus.towson.edu) wrote:
: I downloaded gnat for DOS, but can't find anything about dbg.
: Where can I get it and how do I get it to work? Gnatinfo.txt has very
: little information. The only file I have that might be something related
: is "gdb", but it has no extension (ie .exe or .com).
That is because gdb in the current version of GNAT/DOS is run from the
DOS extender go32, like:
go32 -d gdb <your coff file>
Note that gdb needs a /coff/ file, not an exe file. If the latter is all
you have, use exe2coff <your_exe> to retrieve it. Otherwise compile and link
like:
gcc -c -g <your_program>.adb
gnatbl -g <your_program>.ali
to get both an exe file and a coff file with debugging info.
Hope this helps,
Jerry
--
-----------------------------------------------------------------------
-- Jerry van Dijk -- e-mail: jerry@jvdsys.nextjk.stuyts.nl --
-- Banking Consultant -- Member Team-Ada --
-- Ordina Finance BV -- Located at Haarlem, The Netherlands --
next prev parent reply other threads:[~1996-04-29 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-04-29 0:00 DBG for gnat? Neck-Foo
1996-04-29 0:00 ` Jerry van Dijk [this message]
1996-05-01 0:00 ` Stephen Eaton
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox