[PATCH 6/7]: Regcache: jit should use a writable regcache
diff --git a/gdb/jit.c b/gdb/jit.c
index e96572a..ed5bf16 100644
--- a/gdb/jit.c
+++ b/gdb/jit.c
@@ -1125,7 +1125,7 @@
       return;
     }
 
-  regcache_raw_set_cached_value (priv->regcache, gdb_reg, value->value);
+  priv->regcache->raw_supply (gdb_reg, value->value);
   value->free (value);
 }
 
@@ -1206,7 +1206,7 @@
 
   *cache = XCNEW (struct jit_unwind_private);
   priv_data = (struct jit_unwind_private *) *cache;
-  priv_data->regcache = new regcache (gdbarch, aspace);
+  priv_data->regcache = new regcache (gdbarch, aspace, false);
   priv_data->this_frame = this_frame;
 
   callbacks.priv_data = priv_data;