public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: gdb@sources.redhat.com
Subject: Re: Use of lval_register?
Date: Thu, 05 Jun 2003 17:48:00 -0000	[thread overview]
Message-ID: <3EDF827D.6090201@redhat.com> (raw)
In-Reply-To: <20030605162338.GB30522@nevyn.them.org>


>> >I think it should update the cached copy.  I'm not so sure it should
>> >update the in-memory copy, if the var has moved.  That would require
>> >re-evaluating the expression that produced $1 wouldn't it?
> 
>> 
>> Eventually.  For the moment I'm just worred about getting it to 
>> re-evaluate the registers the value is assumed to reside in.
>> 
>> Or should it only modify the history pool (modifying memory is weird 
>> here, but where to draw the line is also weird).
> 
> 
> After some more thought, I suppose it should modify both the pool and
> memory.  It's just not clear how to find out where in memory it should
> be, now...

Or just modify the pool?

varobj provides a mechanism for modifying / tracking values in the target.

Andrew


  reply	other threads:[~2003-06-05 17:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-05 14:35 Andrew Cagney
2003-06-05 15:18 ` Daniel Jacobowitz
2003-06-05 15:50   ` Andrew Cagney
2003-06-05 15:59     ` Daniel Jacobowitz
2003-06-05 16:13       ` Andrew Cagney
2003-06-05 16:23         ` Daniel Jacobowitz
2003-06-05 17:48           ` Andrew Cagney [this message]
2003-06-05 18:30             ` Daniel Jacobowitz

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=3EDF827D.6090201@redhat.com \
    --to=ac131313@redhat.com \
    --cc=drow@mvista.com \
    --cc=gdb@sources.redhat.com \
    /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).