forked from Imagelibrary/binutils-gdb
* 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.
This commit is contained in:
@@ -998,7 +998,8 @@ When the function is done executing, GDB will silently stop."),
|
||||
and the dummy frame has already been popped. */
|
||||
|
||||
{
|
||||
struct regcache *retbuf = regcache_xmalloc (gdbarch);
|
||||
struct address_space *aspace = get_regcache_aspace (stop_registers);
|
||||
struct regcache *retbuf = regcache_xmalloc (gdbarch, aspace);
|
||||
struct cleanup *retbuf_cleanup = make_cleanup_regcache_xfree (retbuf);
|
||||
struct value *retval = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user