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=0.6 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HELO_NO_DOMAIN,MAILING_LIST_MULTI,RDNS_NONE,SPOOFED_FREEMAIL_NO_RDNS autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5f4b1780da445b55,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-19 12:44:43 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!enst!enst.fr!not-for-mail From: "Hagi Yilmaz" Newsgroups: comp.lang.ada Subject: Need help for debugging an Ada DLL Date: Thu, 19 Jul 2001 22:43:29 +0300 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: avanie.enst.fr 995571878 50489 137.194.161.2 (19 Jul 2001 19:44:38 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Thu, 19 Jul 2001 19:44:38 +0000 (UTC) To: comp.lang.ada@ada.eu.org Return-Path: X-Originating-IP: [212.156.212.64] X-OriginalArrivalTime: 19 Jul 2001 19:43:30.0086 (UTC) FILETIME=[16213C60:01C1108B] Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.4 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:10270 Date: 2001-07-19T22:43:29+03:00 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"......." and this called my attention. next, I set breakpoint $ break my_start --an entry point to a subroutine of the DLL $ .... ... 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