public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* Proposed frysk.rt.Display
@ 2007-05-09 18:36 Adam Jocksch
  2007-05-09 18:45 ` Sami Wagiaalla
  0 siblings, 1 reply; 6+ messages in thread
From: Adam Jocksch @ 2007-05-09 18:36 UTC (permalink / raw)
  To: frysk

 From a discussion with Andrew:
 > What is needed here is a higher level abstraction, a frysk.rt.Display 
(I'm not using Watch as that implies hardware
 > WatchPoint) object, say, that worries about scope rules, and changing 
location, and being able to save/restore
 > itself.  The display object, when the program stops, would know to 
re-instantiate the underlying Variable (if still in
 > scope) when the process stops.

So, mulling it over it sounds like frysk.rt.Display needs to have the 
following
    - an isInScope() method or something akin to it in functionality
    - some reference to the Variable itself. I'm guess that something 
like private Variable myVar is probably not what's
      needed here; so should we be storing the variable's Location? or 
the higher level source#line#col?
    - all of the value-access functionality already implemented in 
Variable (or a way to get a Variable from a Display,
      then call get Int or whatever on it)

The second point is probably the trickiest one, and the point where I 
have the least idea of what would be sufficient/best.

Adam

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

end of thread, other threads:[~2007-05-11 11:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-09 18:36 Proposed frysk.rt.Display Adam Jocksch
2007-05-09 18:45 ` Sami Wagiaalla
2007-05-09 18:47   ` Adam Jocksch
2007-05-10 15:23     ` Sami Wagiaalla
2007-05-10 18:38     ` Andrew Cagney
2007-05-11 13:44       ` Stan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).