comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <mcondic.auntie.spam@acm.org>
Subject: Getting a symbol table from Gnat 3.15p on Windows
Date: Thu, 20 Feb 2003 08:24:02 -0500
Date: 2003-02-20T13:25:16+00:00	[thread overview]
Message-ID: <b32kvs$ffq$1@slb6.atl.mindspring.net> (raw)

I've got an application I'm investigating that looks something like a
debugger. What I think I need is some means of getting the addresses of data
items from a linked image such that I can interrogate the image for data
values and set the contents of variables as needed. Basically one app will
communicate with the other, knowing the other apps symbol table. Here's the
question(s):

Is there a means of getting a symbol table for an app that is compiled &
linked with Gnat 3.15p on Windows? What switches or secret handshakes are
needed to get that to happen? (We can worry about formats, etc. at a later
point - right now I need to know if it is possible and how to make it happen
to demonstrate proof of concept.) Also, would there be any obvious problems
with passing an address into an app and having it interrogate its own memory
using a variable of type Address? (Such as different address formats from
the data in the symbol table or OS related memory restrictions.)

If this doesn't happen readily with Gnat/Windows, I can consider other
environments such as a different compiler or platform so long as it doesn't
get too far afield from a workstation & easily obtainable software. I've
already got something like this using an old XD-Ada compiler targeting an
embedded processor & I want to build something similar to run the embedded
code on a workstation. Any ideas or help would be appreciated.

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
======================================================================





             reply	other threads:[~2003-02-20 13:24 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-20 13:24 Marin David Condic [this message]
2003-02-20 15:15 ` Getting a symbol table from Gnat 3.15p on Windows 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
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