* config/i386/nm-i386v.h (START_INFERIOR_TRAPS_EXPECTED): New define.
authorMark Kettenis <kettenis@gnu.org>
Sun, 18 Aug 2002 22:17:57 +0000 (22:17 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 18 Aug 2002 22:17:57 +0000 (22:17 +0000)
gdb/ChangeLog
gdb/config/i386/nm-i386v.h

index 2d6227b60a32492c46b8d8e2ba0e1d7b0f9dd3b1..ffca31e729552e5f2fd4c5fcfbf8e591784fc81e 100644 (file)
@@ -1,5 +1,6 @@
 2002-08-19  Mark Kettenis  <kettenis@gnu.org>
 
+       * config/i386/nm-i386v.h (START_INFERIOR_TRAPS_EXPECTED): New define.
        * config/i386/i386aout.mt (TDEPFILES): Add i387-tdep.o
        (TM_FILE): Set to tm-i386.h.
        * config/i386/i386v.mt (TM_FILE): Set to tm-i386.h.
index 61af25d0ab5e62f303b5df402f478da8e9dc795d..f94c5bb8b353d97166d3c40f765afb7934aadca2 100644 (file)
 #define REGISTER_U_ADDR(addr, blockend, regnum) \
   (addr) = register_u_addr ((blockend), (regnum))
 extern CORE_ADDR register_u_addr (CORE_ADDR blockend, int regnum);
+\f
+
+/* Number of traps that happen between exec'ing the shell to run an
+   inferior, and when we finally get to the inferior code.  This is 2
+   on most implementations.  Override here to 4.  */
+
+#undef START_INFERIOR_TRAPS_EXPECTED
+#define START_INFERIOR_TRAPS_EXPECTED 4
 
 #endif /* nm-i386v.h */