2004-02-15 Andrew Cagney <cagney@redhat.com>

* config/tm-lynx.h (START_INFERIOR_TRAPS_EXPECTED): Delete macro.
	* config/rs6000/tm-rs6000.h (START_INFERIOR_TRAPS_EXPECTED): Ditto.
This commit is contained in:
Andrew Cagney 2004-02-15 22:55:30 +00:00
parent 46ac7a5dc6
commit db11ed5529
3 changed files with 7 additions and 11 deletions

View File

@ -1,5 +1,8 @@
2004-02-15 Andrew Cagney <cagney@redhat.com> 2004-02-15 Andrew Cagney <cagney@redhat.com>
* 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 * procfs.c (procfs_init_inferior): Assume that
START_INFERIOR_TRAPS_EXPECTED is defined. START_INFERIOR_TRAPS_EXPECTED is defined.
* config/ns32k/nbsdaout.mt (TM_FILE): Set to tm-ns32k.h. * config/ns32k/nbsdaout.mt (TM_FILE): Set to tm-ns32k.h.

View File

@ -1,7 +1,8 @@
/* Parameters for target execution on an RS6000, for GDB, the GNU debugger. /* 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 Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996,
Free Software Foundation, Inc. 1997, 1998, 1999, 2000, 2004 Free Software Foundation, Inc.
Contributed by IBM Corporation. Contributed by IBM Corporation.
This file is part of GDB. 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) #define SKIP_TRAMPOLINE_CODE(pc) rs6000_skip_trampoline_code (pc)
extern CORE_ADDR rs6000_skip_trampoline_code (CORE_ADDR); 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(). */ /* AIX has a couple of strange returns from wait(). */
#define CHILD_SPECIAL_WAITSTATUS(ourstatus, hoststatus) ( \ #define CHILD_SPECIAL_WAITSTATUS(ourstatus, hoststatus) ( \

View File

@ -21,9 +21,6 @@
#ifndef TM_LYNX_H #ifndef TM_LYNX_H
#define 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 */ #include "coff-solib.h" /* COFF shared library support */
/* Lynx's signal.h doesn't seem to have any macros for what signal numbers /* Lynx's signal.h doesn't seem to have any macros for what signal numbers