Saving/restoring the entire register set
Jason R Thorpe
thorpej@wasabisystems.com
Tue May 14 08:28:00 GMT 2002
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>
More information about the Gdb
mailing list