+2002-04-21 David S. Miller <davem@redhat.com>
+
+ * remote-vxsparc.c (vx_read_register): Fix typo, we want
+ REGISTER_RAW_SIZE of SP_REGNUM not CORE_ADDR.
+ (vx_write_register): Likewise.
+
2002-04-23 J. Brobecker <brobecker@gnat.com>
* source.c (is_regular_file): New function.
(FRAME_FIND_SAVED_REGS, in particular, depends on this). */
sp = extract_address (®isters[REGISTER_BYTE (SP_REGNUM)],
- REGISTER_RAW_SIZE (CORE_ADDR));
+ REGISTER_RAW_SIZE (SP_REGNUM));
write_memory (sp, ®isters[REGISTER_BYTE (L0_REGNUM)],
16 * REGISTER_RAW_SIZE (L0_REGNUM));
if (regno < 0 || (L0_REGNUM <= regno && regno <= I7_REGNUM))
{
sp = extract_address (®isters[REGISTER_BYTE (SP_REGNUM)],
- REGISTER_RAW_SIZE (CORE_ADDR));
+ REGISTER_RAW_SIZE (SP_REGNUM));
write_memory (sp, ®isters[REGISTER_BYTE (L0_REGNUM)],
16 * REGISTER_RAW_SIZE (L0_REGNUM));
}