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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham 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-27 10:01:15 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn14feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc53.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Getting a symbol table from Gnat 3.15p on Windows References: X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 12.234.13.56 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc53 1046368874 12.234.13.56 (Thu, 27 Feb 2003 18:01:14 GMT) NNTP-Posting-Date: Thu, 27 Feb 2003 18:01:14 GMT Organization: AT&T Broadband Date: Thu, 27 Feb 2003 18:01:14 GMT Xref: archiver1.google.com comp.lang.ada:34682 Date: 2003-02-27T18:01:14+00:00 List-Id: > Its pretty much as you describe. We've got various packages that contain > global data. The embedded, on-board monitor can read and write any addresses Given package One is Global_Voltage : Integer; ... end One; package Two is Global_Red_Button_Pushed : Boolean; ... end Two; ... How about adding package Self_Description is begin -- run once at package Self_Description's elaboration time Tell_Monitor("One.Global_Voltage", One.Global_Voltage'address); Tell_Monitor("Two.Global_Red_Button_Pushed", Two.Global_Red_Button_Pushed'address); ... end Self_Description; Assuming of course that 'address in the testee program is meaningful to the monitor program.