* config/m68k/monitor.mt (TDEPFILE): Add remote-es.o.
[deliverable/binutils-gdb.git] / gdb / i386b-nat.c
index 07779dd55c82c86894d65143906b7612053d7c62..0bcde9c121e8b5425ae9eda63403b49c37132b19 100644 (file)
@@ -28,12 +28,26 @@ static int tregmap[] =
   tESP, tEBP, tESI, tEDI,
   tEIP, tEFLAGS, tCS, tSS
 };
+
+#ifdef sEAX
 static int sregmap[] = 
 {
   sEAX, sECX, sEDX, sEBX,
   sESP, sEBP, sESI, sEDI,
   sEIP, sEFLAGS, sCS, sSS
 };
+#else /* No sEAX */
+
+/* NetBSD has decided to collapse the s* and t* symbols.  So if the s*
+   ones aren't around, use the t* ones for sregmap too.  */
+
+static int sregmap[] = 
+{
+  tEAX, tECX, tEDX, tEBX,
+  tESP, tEBP, tESI, tEDI,
+  tEIP, tEFLAGS, tCS, tSS
+};
+#endif /* No sEAX */
 
 /* blockend is the value of u.u_ar0, and points to the
    place where ES is stored.  */
This page took 0.023221 seconds and 4 git commands to generate.