hex2mem (®s[MQ_REGNUM * 4 * 2], &frame->ExceptionState.u.SpecialRegistersEnumerated.CsavedMQ, 4 * 1, 0);
}
-extern int ReadByteAltDebugger (char* addr, char *theByte);
-
-extern int WriteByteAltDebugger (char* addr, char theByte);
extern volatile int mem_err;
+#ifdef ALTERNATE_MEM_FUNCS
+extern int ReadByteAltDebugger (char* addr, char *theByte);
+extern int WriteByteAltDebugger (char* addr, char theByte);
int
get_char (addr)
char *addr;
if (!WriteByteAltDebugger (addr, val))
mem_err = 1;
}
+#endif
int
mem_write (dst, src, len)
extern unsigned char breakpoint_insn[];
#define BREAKPOINT_SIZE 4
+#if 0
#define ALTERNATE_MEM_FUNCS /* We need our own get_char/set_char */
+#endif
extern int get_char (char *addr);
extern void set_char (char *addr, int val);