aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/i386
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 /gdb/config/i386
parent641eda39404ac8b1c29805db00562e6cf73dfab1 (diff)
downloadgdb-26d28e12760ccc1bd926fb6f837dc29eb597c86b.zip
gdb-26d28e12760ccc1bd926fb6f837dc29eb597c86b.tar.gz
gdb-26d28e12760ccc1bd926fb6f837dc29eb597c86b.tar.bz2
* config/i386/nm-i386v.h (START_INFERIOR_TRAPS_EXPECTED): New define.
Diffstat (limited to 'gdb/config/i386')
-rw-r--r--gdb/config/i386/nm-i386v.h8
1 files changed, 8 insertions, 0 deletions
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 */