From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,5f4b1780da445b55 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-20 23:58:44 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!212.43.194.69!fr.clara.net!heighliner.fr.clara.net!proxad.net!feeder2-1.proxad.net!nnrp6.proxad.net.POSTED!not-for-mail From: "Patrice Freydiere" Subject: Re: Need help for debugging an Ada DLL Newsgroups: comp.lang.ada Message-ID: <20010721.085934.2069253770.2023@localhost.localdomain> References: User-Agent: Pan/0.9.6 (Unix) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: Sat, 21 Jul 2001 06:58:43 GMT NNTP-Posting-Host: 212.27.57.68 X-Complaints-To: abuse@proxad.net X-Trace: nnrp6.proxad.net 995698723 212.27.57.68 (Sat, 21 Jul 2001 08:58:43 CEST) NNTP-Posting-Date: Sat, 21 Jul 2001 08:58:43 CEST Organization: Guest of ProXad - France Xref: archiver1.google.com comp.lang.ada:10387 Date: 2001-07-21T06:58:43+00:00 List-Id: do you compile your DLL with the debugging option (include debugging symboles ??) Patrice Dans l'article , "Hagi Yilmaz" 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"... found>...." and this called my attention. > > next, I set breakpoint > > $ break my_start --an entry point to a subroutine of the DLL $ .... debugging symbols found>... done > > -- I don't remember exactly the result of break command but I remember > the ... 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 >