Remove regcache_xmalloc
[deliverable/binutils-gdb.git] / gdb / ppc-linux-tdep.c
index df664ea5836a1f95e8b0988be80f714f0be3225f..4c851eb4d9ba01dcc7bfe7e18e609261680d9c93 100644 (file)
@@ -1363,7 +1363,7 @@ ppu2spu_sniffer (const struct frame_unwind *self,
            = FRAME_OBSTACK_CALLOC (1, struct ppu2spu_cache);
 
          struct address_space *aspace = get_frame_address_space (this_frame);
-         struct regcache *regcache = regcache_xmalloc (data.gdbarch, aspace);
+         struct regcache *regcache = new regcache (data.gdbarch, aspace);
          struct cleanup *cleanups = make_cleanup_regcache_xfree (regcache);
          regcache_save (regcache, ppu2spu_unwind_register, &data);
          discard_cleanups (cleanups);
This page took 0.024534 seconds and 4 git commands to generate.