Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jason R Thorpe <thorpej@wasabisystems.com>
To: Richard.Earnshaw@arm.com
Cc: gdb@sources.redhat.com
Subject: Re: Saving/restoring the entire register set
Date: Tue, 14 May 2002 08:28:00 -0000	[thread overview]
Message-ID: <20020514082856.O3435@dr-evil.shagadelic.org> (raw)
In-Reply-To: <200205141517.QAA18465@cam-mail2.cambridge.arm.com>; from rearnsha@arm.com on Tue, May 14, 2002 at 04:17:37PM +0100

On Tue, May 14, 2002 at 04:17:37PM +0100, Richard Earnshaw wrote:

 >   struct regcache *regcache_alloc (); /* Allocate a new regcache structure */
 >   regcache_save (regcache);	      /* Copy current registers into it */
 >   regcache_restore (regcache);	      /* Restore registers from it */
 >   regcache_free (regcache);	      /* Release it */
 > 
 > which would directly perform the precise operations that are required.

Sounds perfectly sensible to me.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>


  reply	other threads:[~2002-05-14 15:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-14  8:18 Richard Earnshaw
2002-05-14  8:28 ` Jason R Thorpe [this message]
2002-05-14 13:06   ` Andrew Cagney
2002-05-15  3:09     ` Richard Earnshaw
2002-05-15  7:13       ` Andrew Cagney

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=20020514082856.O3435@dr-evil.shagadelic.org \
    --to=thorpej@wasabisystems.com \
    --cc=Richard.Earnshaw@arm.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