Remove make_cleanup_regcache_xfree
[deliverable/binutils-gdb.git] / gdb / frame.h
index 3b00d362d979ee4147eb6ca547f826b010567235..024985762df3ee8f2b1d603c2d281f314393b706 100644 (file)
@@ -679,7 +679,8 @@ extern void *frame_obstack_zalloc (unsigned long size);
   ((TYPE *) frame_obstack_zalloc ((NUMBER) * sizeof (TYPE)))
 
 /* Create a regcache, and copy the frame's registers into it.  */
-struct regcache *frame_save_as_regcache (struct frame_info *this_frame);
+std::unique_ptr<struct regcache> frame_save_as_regcache
+    (struct frame_info *this_frame);
 
 extern const struct block *get_frame_block (struct frame_info *,
                                            CORE_ADDR *addr_in_block);
This page took 0.022936 seconds and 4 git commands to generate.