]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/arm-fbsd-nat.c
s/get_regcache_arch (regcache)/regcache->arch ()/g
[thirdparty/binutils-gdb.git] / gdb / arm-fbsd-nat.c
index b1c5c360f8f1036dd5296700252e3b6990c97206..993743e5fad51396c7cbed6c45b922ed297f616a 100644 (file)
@@ -58,7 +58,7 @@ arm_fbsd_fetch_inferior_registers (struct target_ops *ops,
 {
   pid_t pid = get_ptrace_pid (regcache_get_ptid (regcache));
 
-  struct gdbarch *gdbarch = get_regcache_arch (regcache);
+  struct gdbarch *gdbarch = regcache->arch ();
   if (regnum == -1 || getregs_supplies (gdbarch, regnum))
     {
       struct reg regs;
@@ -93,7 +93,7 @@ arm_fbsd_store_inferior_registers (struct target_ops *ops,
 {
   pid_t pid = get_ptrace_pid (regcache_get_ptid (regcache));
 
-  struct gdbarch *gdbarch = get_regcache_arch (regcache);
+  struct gdbarch *gdbarch = regcache->arch ();
   if (regnum == -1 || getregs_supplies (gdbarch, regnum))
     {
       struct reg regs;