From db11ed552935fdb7922b9c7e56f7835148aeb5aa Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 15 Feb 2004 22:55:30 +0000 Subject: [PATCH] 2004-02-15 Andrew Cagney * config/tm-lynx.h (START_INFERIOR_TRAPS_EXPECTED): Delete macro. * config/rs6000/tm-rs6000.h (START_INFERIOR_TRAPS_EXPECTED): Ditto. --- gdb/ChangeLog | 3 +++ gdb/config/rs6000/tm-rs6000.h | 12 ++++-------- gdb/config/tm-lynx.h | 3 --- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 542c635f100..8f99ef8fa16 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2004-02-15 Andrew Cagney + * config/tm-lynx.h (START_INFERIOR_TRAPS_EXPECTED): Delete macro. + * config/rs6000/tm-rs6000.h (START_INFERIOR_TRAPS_EXPECTED): Ditto. + * procfs.c (procfs_init_inferior): Assume that START_INFERIOR_TRAPS_EXPECTED is defined. * config/ns32k/nbsdaout.mt (TM_FILE): Set to tm-ns32k.h. diff --git a/gdb/config/rs6000/tm-rs6000.h b/gdb/config/rs6000/tm-rs6000.h index 41183fb1a94..4b8a09dc3c2 100644 --- a/gdb/config/rs6000/tm-rs6000.h +++ b/gdb/config/rs6000/tm-rs6000.h @@ -1,7 +1,8 @@ /* Parameters for target execution on an RS6000, for GDB, the GNU debugger. - Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, - 1998, 1999, 2000 - Free Software Foundation, Inc. + + Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996, + 1997, 1998, 1999, 2000, 2004 Free Software Foundation, Inc. + Contributed by IBM Corporation. This file is part of GDB. @@ -42,11 +43,6 @@ extern int rs6000_in_solib_return_trampoline (CORE_ADDR, char *); #define SKIP_TRAMPOLINE_CODE(pc) rs6000_skip_trampoline_code (pc) extern CORE_ADDR rs6000_skip_trampoline_code (CORE_ADDR); -/* Number of trap signals we need to skip over, once the inferior process - starts running. */ - -#define START_INFERIOR_TRAPS_EXPECTED 2 - /* AIX has a couple of strange returns from wait(). */ #define CHILD_SPECIAL_WAITSTATUS(ourstatus, hoststatus) ( \ diff --git a/gdb/config/tm-lynx.h b/gdb/config/tm-lynx.h index 13aeca1c3f7..7fbc06f01b3 100644 --- a/gdb/config/tm-lynx.h +++ b/gdb/config/tm-lynx.h @@ -21,9 +21,6 @@ #ifndef TM_LYNX_H #define TM_LYNX_H -/* Override number of expected traps from sysv. */ -#define START_INFERIOR_TRAPS_EXPECTED 2 - #include "coff-solib.h" /* COFF shared library support */ /* Lynx's signal.h doesn't seem to have any macros for what signal numbers -- 2.30.2