diff options
Diffstat (limited to 'gdb/jit.c')
-rw-r--r-- | gdb/jit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1270,7 +1270,7 @@ jit_frame_prev_register (struct frame_info *this_frame, void **cache, int reg) if (priv == NULL) return frame_unwind_got_optimized (this_frame, reg); - gdbarch = get_regcache_arch (priv->regcache); + gdbarch = priv->regcache->arch (); if (reg < gdbarch_num_regs (gdbarch)) { gdb_byte *buf = (gdb_byte *) alloca (register_size (gdbarch, reg)); |