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.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6403691d6db186c8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-21 04:39:21 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.frii.net!newsfeed.frii.net!140.99.99.194.MISMATCH!newsfeed1.easynews.com!easynews.com!easynews!newsfeed1.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Getting a symbol table from Gnat 3.15p on Windows Date: Fri, 21 Feb 2003 07:38:44 -0500 Organization: MindSpring Enterprises Message-ID: References: NNTP-Posting-Host: d1.56.be.7b X-Server-Date: 21 Feb 2003 12:39:20 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Xref: archiver1.google.com comp.lang.ada:34338 Date: 2003-02-21T12:39:20+00:00 List-Id: Well, I'm not sure about a map file. I'll have to look at that. It needs to contain the symbolic names and type information for variables as well as addresses. If you've got that much out of building the image, then a solution does exist. As for the debugger, I doubt that would be of much use. I really think I need a second image communicating with the system under test and the presence of the debugger would probably have performance issues, even if I could find a way of feeding it scripts and getting back the results in some usable manner. On one level a debugger looks kind of like a similar system - deposit data in some locations (possibly a fairly large amount of it), turn the crank on the software some prescribed number of times, then collect the results (again maybe a fairly large volume of stuff) and put it somewhere for analysis. But in other respects, it isn't really a debugging job because it involves simulating the environment the software will see and creating some unusual kinds of test scenarios. I need to keep the image under test as simple as possible yet have external to it some fairly sophisticated means of driving it. Having the image under test fire up the debugger & trying to utilize that might be simultaneously too much and too little. If I can figure out how to get the right symbol table info, the rest can be made to work. MDC -- ====================================================================== Marin David Condic I work for: http://www.belcan.com/ My project is: http://www.jsf.mil/ Send Replies To: m c o n d i c @ a c m . o r g "Going cold turkey isn't as delicious as it sounds." -- H. Simpson ====================================================================== sk wrote in message news:mailman.32.1045809132.9948.comp.lang.ada@ada.eu.org... > > I cannot speak to windows, but I think that you could probably > find a Linux box if you had to. > > 1) As "david.c.hoos.sr@ada95.com" suggests (thru RTFM :-), make > a map file. > > 2) Look at Gnat.Expect and spawn the debugger thru it feeding > commands and reading responses thru scripts based upon the above > map file. > > I havn't used Gnat.Expect, but a brief glance suggests that it > might be a reasonable solution (everything about your post > suggests a q&d effort). >