#include "command.h"
#include "symtab.h"
#include "symfile.h" /* for struct complaint */
+#include "regcache.h"
#include "gdb_string.h"
#include <errno.h>
-#include <signal.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/time.h>
(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));
}