Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@cygnus.com>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: GDB Patches <gdb-patches@sourceware.cygnus.com>
Subject: Re: [rfc] Merge set_register_cache() and supply_register(,NULL)
Date: Fri, 09 Mar 2001 13:46:00 -0000	[thread overview]
Message-ID: <3AA94C67.C930D6D5@cygnus.com> (raw)
In-Reply-To: <3AA8491C.CC265D5E@cygnus.com>

Andrew Cagney wrote:
> 
> Thoughts?
> 
> The attatched merges the semantics of the two sequences:
> 
>         supply_register (, zero_buf);
>         set_register_cache(-1);
> 
> and
> 
>         supply_register (, NULL);
> 
> Making the latter the only interface.  It marks the register as
> unavailable and and stores zeroes in it.
> 
> The only thing looking that this ``unavailable'' status is the GUI
> (Insight).

... that last is not right.  Expression evaluation will look at the
unavailable status, as will "info registers".  If you try to evaluate
the register and it isn't available, you'll get a notification.


      reply	other threads:[~2001-03-09 13:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-09 12:54 Andrew Cagney
2001-03-09 13:46 ` Michael Snyder [this message]

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=3AA94C67.C930D6D5@cygnus.com \
    --to=msnyder@cygnus.com \
    --cc=ac131313@cygnus.com \
    --cc=gdb-patches@sourceware.cygnus.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