comp.lang.ada
 help / color / mirror / Atom feed
From: "Hagi Yilmaz" <hagihun@hotmail.com>
To: comp.lang.ada@ada.eu.org
Subject: Need help for debugging an Ada DLL
Date: Thu, 19 Jul 2001 22:43:29 +0300
Date: 2001-07-19T22:43:29+03:00	[thread overview]
Message-ID: <mailman.995571864.13259.comp.lang.ada@ada.eu.org> (raw)

  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




             reply	other threads:[~2001-07-19 19:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-19 19:43 Hagi Yilmaz [this message]
2001-07-20 16:18 ` Need help for debugging an Ada DLL Stephen Leake
2001-07-21  6:58 ` Patrice Freydiere
  -- 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