summaryrefslogtreecommitdiff
path: root/gdb/regcache.h
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2011-01-25 12:13:19 +0000
committerPedro Alves <pedro@codesourcery.com>2011-01-25 12:13:19 +0000
commita40f3cdab6de0457290b72995f3ab5790735b776 (patch)
tree5ea8c17947aaa249a0b66c29fc6108883b690cb5 /gdb/regcache.h
parent25ff0cbe0ffc4f5161388edf29a3393bd36337bd (diff)
downloadgdb-a40f3cdab6de0457290b72995f3ab5790735b776.tar.gz
* regcache.c (struct regcache_descr): Remove outdated comment.
(init_regcache_descr): Remove sizeof_raw_register_valid_p overallocate hack. (regcache_xmalloc): Rename to ... (regcache_xmalloc_1): ... this. Add `readonly_p' parameter. Allocate the regcache type accordingly. (regcache_xmalloc): New as wrapper around regcache_xmalloc_1. (regcache_xfree): Asser the source is also readonly. Copy sizeof cooked registers, not raw. (regcache_dup_no_passthrough): Delete. (get_thread_arch_regcache): Use regcache_xmalloc_1. * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not mention obsolete write_register_bytes. * regcache.h (regcache_dup_no_passthrough): Delete declaration.
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r--gdb/regcache.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h
index 99bb322b601..e5ec1cc6b63 100644
--- a/gdb/regcache.h
+++ b/gdb/regcache.h
@@ -154,7 +154,6 @@ extern void regcache_restore (struct regcache *dst,
only transfer values already in the cache. */
extern struct regcache *regcache_dup (struct regcache *regcache);
-extern struct regcache *regcache_dup_no_passthrough (struct regcache *);
extern void regcache_cpy (struct regcache *dest, struct regcache *src);
extern void regcache_cpy_no_passthrough (struct regcache *dest,
struct regcache *src);