+2010-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * linux-s390-low.c (s390_collect_ptrace_register)
+ (s390_supply_ptrace_register): Adjust it for the new regcache parameter.
+
2010-01-21 Doug Evans <dje@google.com>
* linux-low.c (PTRACE_ARG3_TYPE): Change from long to void*.
if ((regno ^ 1) < the_low_target.num_regs
&& the_low_target.regmap[regno ^ 1] == regaddr)
{
- collect_register (regno & ~1, buf);
- collect_register ((regno & ~1) + 1, buf + sizeof (long) - size);
+ collect_register (regcache, regno & ~1, buf);
+ collect_register (regcache, (regno & ~1) + 1,
+ buf + sizeof (long) - size);
}
else if (regaddr == PT_PSWADDR
|| (regaddr >= PT_GPR0 && regaddr <= PT_GPR15))
buf[size] |= 0x80;
}
else
- collect_register (regno, buf);
+ collect_register (regcache, regno, buf);
}
static void
if ((regno ^ 1) < the_low_target.num_regs
&& the_low_target.regmap[regno ^ 1] == regaddr)
{
- supply_register (regno & ~1, buf);
- supply_register ((regno & ~1) + 1, buf + sizeof (long) - size);
+ supply_register (regcache, regno & ~1, buf);
+ supply_register (regcache, (regno & ~1) + 1,
+ buf + sizeof (long) - size);
}
else if (regaddr == PT_PSWADDR
|| (regaddr >= PT_GPR0 && regaddr <= PT_GPR15))