]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/i386-linux-tdep.c
Remove regcache_cooked_read
[thirdparty/binutils-gdb.git] / gdb / i386-linux-tdep.c
index c7b6d5262e165a1a59792faa44daa69a46a17acc..1919c8b8cf8102d6af4275e0cad4b3f53893c2d5 100644 (file)
@@ -547,7 +547,7 @@ i386_linux_get_syscall_number_from_regcache (struct regcache *regcache)
   /* Getting the system call number from the register.
      When dealing with x86 architecture, this information
      is stored at %eax register.  */
-  regcache_cooked_read (regcache, I386_LINUX_ORIG_EAX_REGNUM, buf);
+  regcache->cooked_read (I386_LINUX_ORIG_EAX_REGNUM, buf);
 
   ret = extract_signed_integer (buf, 4, byte_order);