This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[obish] More redundant (START_INFERIOR_TRAPS_EXPECTED macros
- From: Andrew Cagney <cagney at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 15 Feb 2004 17:54:42 -0500
- Subject: [obish] More redundant (START_INFERIOR_TRAPS_EXPECTED macros
These, again are just defining it to its default value,
deleted,
Andrew
? diffs
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.5379
diff -u -r1.5379 ChangeLog
--- ChangeLog 15 Feb 2004 22:38:39 -0000 1.5379
+++ ChangeLog 15 Feb 2004 22:51:48 -0000
@@ -1,5 +1,8 @@
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
START_INFERIOR_TRAPS_EXPECTED is defined.
* config/ns32k/nbsdaout.mt (TM_FILE): Set to tm-ns32k.h.
Index: config/tm-lynx.h
===================================================================
RCS file: /cvs/src/src/gdb/config/tm-lynx.h,v
retrieving revision 1.2
diff -u -r1.2 tm-lynx.h
--- config/tm-lynx.h 6 Mar 2001 08:21:20 -0000 1.2
+++ config/tm-lynx.h 15 Feb 2004 22:51:48 -0000
@@ -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
Index: config/rs6000/tm-rs6000.h
===================================================================
RCS file: /cvs/src/src/gdb/config/rs6000/tm-rs6000.h,v
retrieving revision 1.28
diff -u -r1.28 tm-rs6000.h
--- config/rs6000/tm-rs6000.h 10 Oct 2003 02:40:19 -0000 1.28
+++ config/rs6000/tm-rs6000.h 15 Feb 2004 22:51:48 -0000
@@ -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.
@@ -41,11 +42,6 @@
#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(). */