summaryrefslogtreecommitdiff
path: root/gdb/s390-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/s390-nat.c')
-rw-r--r--gdb/s390-nat.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/s390-nat.c b/gdb/s390-nat.c
index 3904c51b388..a6528e73646 100644
--- a/gdb/s390-nat.c
+++ b/gdb/s390-nat.c
@@ -204,7 +204,8 @@ store_fpregs (const struct regcache *regcache, int tid, int regnum)
/* Fetch register REGNUM from the child process. If REGNUM is -1, do
this for all registers. */
static void
-s390_linux_fetch_inferior_registers (struct regcache *regcache, int regnum)
+s390_linux_fetch_inferior_registers (struct target_ops *ops,
+ struct regcache *regcache, int regnum)
{
int tid = s390_inferior_tid ();
@@ -220,7 +221,8 @@ s390_linux_fetch_inferior_registers (struct regcache *regcache, int regnum)
/* Store register REGNUM back into the child process. If REGNUM is
-1, do this for all registers. */
static void
-s390_linux_store_inferior_registers (struct regcache *regcache, int regnum)
+s390_linux_store_inferior_registers (struct target_ops *ops,
+ struct regcache *regcache, int regnum)
{
int tid = s390_inferior_tid ();