summaryrefslogtreecommitdiff
path: root/gdb/regcache.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2010-01-28 22:07:57 +0000
committerDaniel Jacobowitz <dan@debian.org>2010-01-28 22:07:57 +0000
commitcddb5b9441387b546785edb7f3723fd69a34db5a (patch)
treeee4e041ede9dfdba864f75a38a31f90fe673b6dc /gdb/regcache.h
parent9086f91b53f60094862210b6802e233ba8111ebc (diff)
downloadgdb-cddb5b9441387b546785edb7f3723fd69a34db5a.tar.gz
* regcache.c (regcache_xmalloc): Add aspace argument. Use it
for the new regcache. All callers updated. (regcache_cpy, regcache_cpy_no_passthrough): Do not set aspace here. (get_thread_arch_regcache): Do not set aspace here. * regcache.h (regcache_xmalloc): Update declaration. * frame.c, infcall.c, ppc-linux-tdep.c: Calls to regcache_xmalloc updated.
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r--gdb/regcache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h
index 9bb66191932..d8709607fb7 100644
--- a/gdb/regcache.h
+++ b/gdb/regcache.h
@@ -31,7 +31,8 @@ extern struct regcache *get_thread_arch_regcache (ptid_t, struct gdbarch *);
void regcache_xfree (struct regcache *regcache);
struct cleanup *make_cleanup_regcache_xfree (struct regcache *regcache);
-struct regcache *regcache_xmalloc (struct gdbarch *gdbarch);
+struct regcache *regcache_xmalloc (struct gdbarch *gdbarch,
+ struct address_space *aspace);
/* Return REGCACHE's architecture. */