summaryrefslogtreecommitdiff
path: root/gdb/regcache.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@redhat.com>2011-10-11 18:35:26 +0000
committerDavid S. Miller <davem@redhat.com>2011-10-11 18:35:26 +0000
commit349d138559111de9e0ee57120e267005ac27cb6e (patch)
tree75fb7faca70e31eff2ab8ef0b7c427ee51a9b3bb /gdb/regcache.h
parentbfb6c1ab1ed502faa7c3764722a1f1661f6d44e8 (diff)
Fix regcache_restore() handling of unavailable regs.
* regcache.c (regcache_restore): Do not write unavailable regs, mark static. * regcache.h (regcache_restore): Remove declaration.
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r--gdb/regcache.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h
index 5531f398ca..440fbe6094 100644
--- a/gdb/regcache.h
+++ b/gdb/regcache.h
@@ -174,9 +174,6 @@ typedef enum register_status (regcache_cooked_read_ftype) (void *src,
extern void regcache_save (struct regcache *dst,
regcache_cooked_read_ftype *cooked_read,
void *cooked_read_context);
-extern void regcache_restore (struct regcache *dst,
- regcache_cooked_read_ftype *cooked_read,
- void *cooked_read_context);
/* Copy/duplicate the contents of a register cache. By default, the
operation is pass-through. Writes to DST and reads from SRC will