diff options
Diffstat (limited to 'gdb/record-btrace.c')
-rw-r--r-- | gdb/record-btrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/record-btrace.c b/gdb/record-btrace.c index 36ddf1c..b7e379b 100644 --- a/gdb/record-btrace.c +++ b/gdb/record-btrace.c @@ -1423,7 +1423,7 @@ record_btrace_fetch_registers (struct target_ops *ops, struct gdbarch *gdbarch; int pcreg; - gdbarch = get_regcache_arch (regcache); + gdbarch = regcache->arch (); pcreg = gdbarch_pc_regnum (gdbarch); if (pcreg < 0) return; |