* interp.c: Move fp regs beyond pc/pr/etc to avoid confusing GDB,
which expect pc to immediatly follow regs[].
+start-sanitize-sh3e
+Thu Sep 14 19:32:59 1995 Stu Grossman (grossman@cygnus.com)
+
+ * gencode.c: Back up PC by 2 for breakpoints.
+ * interp.c: Move fp regs beyond pc/pr/etc to avoid confusing GDB,
+ which expect pc to immediatly follow regs[].
+
+end-sanitize-sh3e
Fri Sep 8 14:18:13 1995 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Define CC_FOR_BUILD. Don't call AC_PROG_INSTALL.
#include "remote-sim.h"
#include <sys/syscall.h>
+/* start-sanitize-sh3e */
+#include <math.h>
+/* end-sanitize-sh3e */
+
#if !defined (SYS_wait) && defined (SYS_wait4)
#define SYS_wait SYS_wait4 /* SunOS 4.1.3 for example */
#endif
{
int regs[16];
-/* start-sanitize-sh3e */
- float fregs[16];
-/* end-sanitize-sh3e */
int pc;
int pr;
int mach;
int macl;
-/* start-sanitize-sh3e */
- float fpscr;
- int fpul;
-/* end-sanitize-sh3e */
-
union
{
struct
int prevlock;
int thislock;
+/* start-sanitize-sh3e */
+ float fregs[16];
+ float fpscr;
+ int fpul;
+/* end-sanitize-sh3e */
int exception;
int msize;
#define PROFILE_FREQ 1