aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2002-08-18 22:17:57 +0000
committerMark Kettenis <kettenis@gnu.org>2002-08-18 22:17:57 +0000
commit26d28e12760ccc1bd926fb6f837dc29eb597c86b (patch)
treeffaa5e166ec8a18cbfe5c5235904c3e74101ecfe
parent641eda39404ac8b1c29805db00562e6cf73dfab1 (diff)
downloadgdb-26d28e12760ccc1bd926fb6f837dc29eb597c86b.zip
gdb-26d28e12760ccc1bd926fb6f837dc29eb597c86b.tar.gz
gdb-26d28e12760ccc1bd926fb6f837dc29eb597c86b.tar.bz2
* config/i386/nm-i386v.h (START_INFERIOR_TRAPS_EXPECTED): New define.
-rw-r--r--gdb/ChangeLog1
-rw-r--r--gdb/config/i386/nm-i386v.h8
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2d6227b..ffca31e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/config/i386/nm-i386v.h b/gdb/config/i386/nm-i386v.h
index 61af25d..f94c5bb 100644
--- a/gdb/config/i386/nm-i386v.h
+++ b/gdb/config/i386/nm-i386v.h
@@ -32,5 +32,13 @@
#define REGISTER_U_ADDR(addr, blockend, regnum) \
(addr) = register_u_addr ((blockend), (regnum))
extern CORE_ADDR register_u_addr (CORE_ADDR blockend, int regnum);
+
+
+/* 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 */