From: Mark Kettenis Date: Sun, 18 Aug 2002 22:17:57 +0000 (+0000) Subject: * config/i386/nm-i386v.h (START_INFERIOR_TRAPS_EXPECTED): New define. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=26d28e12760ccc1bd926fb6f837dc29eb597c86b;p=binutils-gdb.git * config/i386/nm-i386v.h (START_INFERIOR_TRAPS_EXPECTED): New define. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2d6227b60a3..ffca31e7295 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,6 @@ 2002-08-19 Mark Kettenis + * 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 61af25d0ab5..f94c5bb8b35 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 */