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-22 07:01:55 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed1.newsreader.com!newsreader.com!beamish.news.atl.earthlink.net!guinness.news.atl.earthlink.net!news.atl.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: Sat, 22 Feb 2003 10:01:14 -0500 Organization: MindSpring Enterprises Message-ID: References: NNTP-Posting-Host: d1.56.b0.88 X-Server-Date: 22 Feb 2003 15:01:54 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:34423 Date: 2003-02-22T15:01:54+00:00 List-Id: 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 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. > >