From: "Patrice Freydiere" <frett@iname.com>
Subject: Re: Need help for debugging an Ada DLL
Date: Sat, 21 Jul 2001 06:58:43 GMT
Date: 2001-07-21T06:58:43+00:00 [thread overview]
Message-ID: <20010721.085934.2069253770.2023@localhost.localdomain> (raw)
In-Reply-To: mailman.995571864.13259.comp.lang.ada@ada.eu.org
do you compile your DLL with the debugging option (include debugging
symboles ??)
Patrice
Dans l'article <mailman.995571864.13259.comp.lang.ada@ada.eu.org>, "Hagi
Yilmaz" <hagihun@hotmail.com> a �crit :
> I built my Ada DLL by Gnat 3.13p compiler in WinNT.
>
> I also have a Visual C++ code (test.exe) calling the Ada DLL
> (my_dll.dll).
>
> Problem is, I can't debug my DLL while the "test.exe" is running . I
> read
> the GNAT User's guide, the section : "The program is built with some
> foreign tools and the DLL is built with GCC/GNAT" and according to that
> I tried the followings :
>
> $ gdb -nw my_dll.dll
>
> -- The last line of this command ends with -- "This GDD was configured
> as6 "6-pc-mingw32"...<no debugging symbols
> found>...." and this called my attention.
>
> next, I set breakpoint
>
> $ break my_start --an entry point to a subroutine of the DLL $ .... <no
> debugging symbols found>... done
>
> -- I don't remember exactly the result of break command but I remember
> the <no debugging symbols found>... done statement.
>
> so I entered :
>
> $ symbol-file my_dll.dll
> $ Reading symbols from my_dll.dll ....< no debugging symbols
> found>...done
>
> Is the problem due to symbol-file, symbol table? How can I achieve
> this
> then?
>
> How can I debug my Ada DLL? Can anybody help me?
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> _________________________________________________________________ Get
> your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
next prev parent reply other threads:[~2001-07-21 6:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-19 19:43 Need help for debugging an Ada DLL Hagi Yilmaz
2001-07-20 16:18 ` Stephen Leake
2001-07-21 6:58 ` Patrice Freydiere [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-07-24 12:25 Hagi Yilmaz
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox