]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/tracefile.c
gdb/Makefile.in: fix 'make tags' failure
[thirdparty/binutils-gdb.git] / gdb / tracefile.c
index b6a800cf7d19a2adeb02809b6c8a8f7bc78f116a..93d88163b36359ef678250ad07587be28d48251d 100644 (file)
@@ -387,7 +387,7 @@ trace_save_ctf (const char *dirname, int target_does_save)
 void
 tracefile_fetch_registers (struct regcache *regcache, int regno)
 {
-  struct gdbarch *gdbarch = get_regcache_arch (regcache);
+  struct gdbarch *gdbarch = regcache->arch ();
   struct tracepoint *tp = get_tracepoint (get_tracepoint_number ());
   int regn;