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: Sat, 22 Feb 2003 10:01:14 -0500
Date: 2003-02-22T15:01:54+00:00	[thread overview]
Message-ID: <b383d2$vfb$1@slb6.atl.mindspring.net> (raw)
In-Reply-To: v5d1iho1q1k259@corp.supernews.com

That depends on what you mean by the "Debugger". I've got embedded code that
contains within it a "monitor" that will plug to addresses and read from
addresses. It gets requests/data from a communications mechanism and sends
replies/data down the same wire. This is relatively easy to do in an
embedded project. What I'd like to do is build something at the other end
that knows the addresses of the linked image and can send requests to plug
certain ones and get back the contents of certain other ones. I already have
something that does this with the embedded system. So if I basically took
the same code and did what I needed to it to get it to run on a PC, I'd just
need the symbol table so I could be sending the correct addresses. I don't
think I need the debugger - I just need the addresses and the ability to
build an image where nothing is going to stop me from reading/writing to
those addresses.

The whole project is considerably more complicated than this, but it is
predicated on being able to make this (or some similar) "Monitor" inside the
code work on a PC/Workstation and be able to get the symbol table for the
linked image so you know what to tell the monitor to plug & chug. I don't
want to involve a debugger if I don't have to and I don't see how having one
would help me here.

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

Randy Brukardt <randy@rrsoftware.com> wrote in message
news:v5d1iho1q1k259@corp.supernews.com...
>
> If your target is Windows, the only way to do what you want (read and
> write another process) is to use the debugger interface. Essentially,
> you're writing a debugger. I've done that on Windows, and it isn't fun.
>
> If you were using Janus/Ada, and you asked real nice, I could give you
> the code to the debugger, and you'd have everything you need (symbol
> table access, debugger engine, etc.). I suppose you might be able to
> find similar code for GNAT with some effort (although I suspect you'd
> rather use the All-Ada source code of Janus/Ada and JDebug as opposed to
> the C (?) source of GDB).
>
>                   Randy.
>
>





  parent reply	other threads:[~2003-02-22 15:01 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
2003-02-21 20:02     ` Randy Brukardt
2003-02-21 21:33       ` Stephen Leake
2003-02-22 15:01       ` Marin David Condic [this message]
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