diff options
author | Alan Hayward <alan.hayward@arm.com> | 2017-08-15 16:40:35 +0100 |
---|---|---|
committer | Alan Hayward <alan.hayward@arm.com> | 2017-08-15 16:40:35 +0100 |
commit | a20c2452a4eaa98024ef6982318945dbbf2d4ca7 (patch) | |
tree | 0baabbcf68c4f891edd1ecc64fcdb1a9d473107c | |
parent | 4ac8135dd8b7568b6185dc2e4ecd9a5d00b8f10b (diff) | |
download | fsf-binutils-gdb-a20c2452a4eaa98024ef6982318945dbbf2d4ca7.zip fsf-binutils-gdb-a20c2452a4eaa98024ef6982318945dbbf2d4ca7.tar.gz fsf-binutils-gdb-a20c2452a4eaa98024ef6982318945dbbf2d4ca7.tar.bz2 |
[PATCH 6/7]: Regcache: jit should use a writable regcache
-rw-r--r-- | gdb/jit.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1125,7 +1125,7 @@ jit_unwind_reg_set_impl (struct gdb_unwind_callbacks *cb, int dwarf_regnum, 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 @@ jit_frame_sniffer (const struct frame_unwind *self, *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; |