comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: Getting a symbol table from Gnat 3.15p on Windows
Date: Thu, 27 Feb 2003 18:01:14 GMT
Date: 2003-02-27T18:01:14+00:00	[thread overview]
Message-ID: <Kns7a.286366$be.259256@rwcrnsc53> (raw)
In-Reply-To: b3l2sl$1a6$1@slb2.atl.mindspring.net

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



  reply	other threads:[~2003-02-27 18: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
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 [this message]
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