This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[ob] Delete FAULTED_USE_SIGINFO
- From: Andrew Cagney <cagney at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 22 Nov 2003 17:38:03 -0500
- Subject: [ob] Delete FAULTED_USE_SIGINFO
Never used so deleted.
Andrew
2003-11-22 Andrew Cagney <cagney@redhat.com>
* procfs.c (procfs_wait): Delete FAULTED_USE_SIGINFO comment.
* config/sparc/tm-sun4sol2.h (FAULTED_USE_SIGINFO): Delete macro.
* config/i386/tm-i386sol2.h (FAULTED_USE_SIGINFO): Delete macro.
* config/alpha/nm-osf2.h (FAULTED_USE_SIGINFO): Delete macro.
Index: procfs.c
===================================================================
RCS file: /cvs/src/src/gdb/procfs.c,v
retrieving revision 1.48
diff -u -r1.48 procfs.c
--- procfs.c 21 Sep 2003 01:26:45 -0000 1.48
+++ procfs.c 22 Nov 2003 22:35:19 -0000
@@ -4163,7 +4163,7 @@
wstat = (what << 8) | 0177;
break;
case PR_FAULTED:
- switch (what) { /* FIXME: FAULTED_USE_SIGINFO */
+ switch (what) {
#ifdef FLTWATCH
case FLTWATCH:
wstat = (SIGTRAP << 8) | 0177;
Index: config/alpha/nm-osf2.h
===================================================================
RCS file: /cvs/src/src/gdb/config/alpha/nm-osf2.h,v
retrieving revision 1.3
diff -u -r1.3 nm-osf2.h
--- config/alpha/nm-osf2.h 6 Mar 2001 08:21:21 -0000 1.3
+++ config/alpha/nm-osf2.h 22 Nov 2003 22:35:26 -0000
@@ -25,9 +25,6 @@
#define USE_PROC_FS
#define HAVE_OPTIONAL_PROC_FS
-/* OSF/1 doesn't provide the standard fault definitions, so don't use them. */
-#define FAULTED_USE_SIGINFO
-
/* Don't trace faults under OSF/1, rely on the posting of the appropriate
signal if fault tracing is disabled.
Tracing T_IFAULT under Alpha OSF/1 causes a `floating point enable'
Index: config/i386/tm-i386sol2.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/tm-i386sol2.h,v
retrieving revision 1.14
diff -u -r1.14 tm-i386sol2.h
--- config/i386/tm-i386sol2.h 11 Oct 2002 14:02:39 -0000 1.14
+++ config/i386/tm-i386sol2.h 22 Nov 2003 22:35:26 -0000
@@ -31,6 +31,4 @@
#define STATIC_TRANSFORM_NAME(x) sunpro_static_transform_name (x)
#define IS_STATIC_TRANSFORM_NAME(name) ((name)[0] == '.')
-#define FAULTED_USE_SIGINFO
-
#endif /* ifndef TM_I386SOL2_H */
Index: config/sparc/tm-sun4sol2.h
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/tm-sun4sol2.h,v
retrieving revision 1.11
diff -u -r1.11 tm-sun4sol2.h
--- config/sparc/tm-sun4sol2.h 3 Sep 2003 15:02:50 -0000 1.11
+++ config/sparc/tm-sun4sol2.h 22 Nov 2003 22:35:27 -0000
@@ -74,7 +74,5 @@
#define STATIC_TRANSFORM_NAME(x) sunpro_static_transform_name (x)
#define IS_STATIC_TRANSFORM_NAME(name) ((name)[0] == '$')
-#define FAULTED_USE_SIGINFO
-
/* Enable handling of shared libraries for a.out executables. */
#define HANDLE_SVR4_EXEC_EMULATORS