comp.lang.ada
 help / color / mirror / Atom feed
* Re: Getting a symbol table from Gnat 3.15p on Windows
@ 2003-02-21  3:24 David C. Hoos, Sr.
  2003-02-21  4:00 ` Marin David Condic
  0 siblings, 1 reply; 32+ messages in thread
From: David C. Hoos, Sr. @ 2003-02-21  3:24 UTC (permalink / raw)
  To: comp.lang.ada mail to news gateway


----- Original Message ----- 
From: "Marin David Condic" <mcondic.auntie.spam@acm.org>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
Sent: February 20, 2003 8:16 PM
Subject: Re: Getting a symbol table from Gnat 3.15p on Windows


> David C. Hoos, Sr. <david.c.hoos.sr@ada95.com> wrote in message
> news:mailman.29.1045754029.9948.comp.lang.ada@ada.eu.org...
> > Have you tried the "secret handshake" given in Section 5.1 of the GNAT
> > User's Guide?
> >
> I try not to read documentation if I can get someone to do it for me. I'm in
> management now. :-) But thanks for pointing me at 5.1 - I'll take a glance
> and see if it answers the questions.
> 
> 
> > I don't see any problem if all you want to do is "interrogate."
> Attempting
> > to write, however, is another matter, as some of the app's memory is sure
> > to be "read only."
> >
> Nope. Gotta be able to write to addresses. Its a matter of being able to set
> up test cases that deposit data, cycle the code, collect results and return
> them to the other app. If I can't do this, its a non-starter. If the
> restriction is only on some "special" addresses, maybe we can live with
> that.
The restricted addresses would be the code space and read-only data -- e.g.,
constant data storage.  Variables would not be retstricted.
> 
> 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
> ======================================================================
> 
> 
> _______________________________________________
> comp.lang.ada mailing list
> comp.lang.ada@ada.eu.org
> http://ada.eu.org/mailman/listinfo/comp.lang.ada
> 
> 




^ permalink raw reply	[flat|nested] 32+ messages in thread
* Getting a symbol table from Gnat 3.15p on Windows
@ 2003-02-20 13:24 Marin David Condic
  2003-02-20 15:15 ` David C. Hoos, Sr.
                   ` (2 more replies)
  0 siblings, 3 replies; 32+ messages in thread
From: Marin David Condic @ 2003-02-20 13:24 UTC (permalink / 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
======================================================================





^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2003-03-01 18:25 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-21  3:24 Getting a symbol table from Gnat 3.15p on Windows David C. Hoos, Sr.
2003-02-21  4:00 ` Marin David Condic
  -- strict thread matches above, loose matches on Subject: below --
2003-02-20 13:24 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
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

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