Remove regcache_cooked_read
[deliverable/binutils-gdb.git] / gdb / bfin-linux-tdep.c
index 9b9f3bedfb1c86c06337d317d45c3bb188cc8316..f84e2e0fc5f8d58643e486c1917de479319c18bb 100644 (file)
@@ -140,7 +140,7 @@ bfin_linux_get_syscall_number (struct gdbarch *gdbarch,
   /* Getting the system call number from the register.
      When dealing with Blackfin architecture, this information
      is stored at %p0 register.  */
-  regcache_cooked_read (regcache, BFIN_P0_REGNUM, buf);
+  regcache->cooked_read (BFIN_P0_REGNUM, buf);
 
   ret = extract_signed_integer (buf, 4, byte_order);
 
This page took 0.027011 seconds and 4 git commands to generate.