[commit] Generalize regcache_{save,restore}

Andrew Cagney ac131313@redhat.com
Mon Mar 10 19:20:00 GMT 2003


Hello,

The attached generalizes the regcache_save() and regcache_restore() 
methods by replacing the regcache SRC with an arbitrary buffer + 
cooked_read function.  This generic interface makes it possible for 
registers to be saved/restored using an arbitrary register source, even 
a frame:

	regcache_save (dst, frame_register_read, frame);

(ok, it needs a few wrapper methods to avoid -Werror).

commited,
Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20030310/2b675da8/attachment.ksh>


More information about the Gdb-patches mailing list