From: Adam Jocksch <ajocksch@redhat.com>
To: frysk <frysk@sourceware.org>
Subject: Proposed frysk.rt.Display
Date: Wed, 09 May 2007 18:36:00 -0000 [thread overview]
Message-ID: <46420C75.6040401@redhat.com> (raw)
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
next reply other threads:[~2007-05-09 18:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-09 18:36 Adam Jocksch [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46420C75.6040401@redhat.com \
--to=ajocksch@redhat.com \
--cc=frysk@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).