comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <mcondic.auntie.spam@acm.org>
Subject: Re: Getting a symbol table from Gnat 3.15p on Windows
Date: Fri, 21 Feb 2003 07:38:44 -0500
Date: 2003-02-21T12:39:20+00:00	[thread overview]
Message-ID: <b356lo$sms$1@slb6.atl.mindspring.net> (raw)
In-Reply-To: mailman.32.1045809132.9948.comp.lang.ada@ada.eu.org

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 <sk@noname.com> 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).
>






  reply	other threads:[~2003-02-21 12:38 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-20 13:24 Getting a symbol table from Gnat 3.15p on Windows Marin David Condic
2003-02-20 15:15 ` David C. Hoos, Sr.
2003-02-21  2:16   ` Marin David Condic
2003-02-20 18:30 ` Stephen Leake
2003-02-21  3:24   ` Marin David Condic
2003-02-21 16:01     ` Stephen Leake
2003-02-21 16:14       ` Preben Randhol
2003-02-21  6:37 ` sk
2003-02-21 12:38   ` Marin David Condic [this message]
2003-02-21 20:02     ` Randy Brukardt
2003-02-21 21:33       ` Stephen Leake
2003-02-22 15:01       ` Marin David Condic
2003-02-22  5:46     ` sk
2003-02-22 15:23       ` Marin David Condic
2003-02-22 18:05         ` Jeffrey Creem
2003-02-23 15:06           ` Marin David Condic
2003-02-24 18:30             ` Simon Wright
2003-02-25 12:56               ` Marin David Condic
2003-02-26  1:26                 ` Randy Brukardt
2003-02-26 13:27                   ` Marin David Condic
2003-02-26 18:10                     ` tmoran
2003-02-27 13:11                       ` Marin David Condic
2003-02-27 18:01                         ` tmoran
2003-02-28 12:08                           ` Marin David Condic
2003-02-28 18:18                             ` tmoran
2003-02-28 20:24                             ` tmoran
2003-03-01 18:25                               ` John R. Strohm
2003-02-26 18:54                 ` Stephen Leake
2003-02-27 13:22                   ` Marin David Condic
2003-02-27 17:14                     ` Stephen Leake
  -- strict thread matches above, loose matches on Subject: below --
2003-02-21  3:24 David C. Hoos, Sr.
2003-02-21  4:00 ` Marin David Condic
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox