From 7af6341f3b42b9803f42ee719fcdd5441d39b4ec Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 22 Nov 2003 22:43:05 +0000 Subject: [PATCH] 2003-11-22 Andrew Cagney * 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. --- gdb/ChangeLog | 5 +++++ gdb/config/alpha/nm-osf2.h | 3 --- gdb/config/i386/tm-i386sol2.h | 2 -- gdb/config/sparc/tm-sun4sol2.h | 2 -- gdb/procfs.c | 2 +- 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 18959be1b92..99176eee3ad 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2003-11-22 Andrew Cagney + * 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. + * mips-tdep.c (SIGFRAME_REG_SIZE): Delete macro. (mips_find_saved_regs): Replace SIGFRAME_REG_SIZE with mips_regsize. diff --git a/gdb/config/alpha/nm-osf2.h b/gdb/config/alpha/nm-osf2.h index 4b225af237f..1f3932df59b 100644 --- a/gdb/config/alpha/nm-osf2.h +++ b/gdb/config/alpha/nm-osf2.h @@ -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' diff --git a/gdb/config/i386/tm-i386sol2.h b/gdb/config/i386/tm-i386sol2.h index 5a79f67dabc..921df26dc07 100644 --- a/gdb/config/i386/tm-i386sol2.h +++ b/gdb/config/i386/tm-i386sol2.h @@ -31,6 +31,4 @@ extern char *sunpro_static_transform_name (char *); #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 */ diff --git a/gdb/config/sparc/tm-sun4sol2.h b/gdb/config/sparc/tm-sun4sol2.h index 506e9370de6..9efe7794ea8 100644 --- a/gdb/config/sparc/tm-sun4sol2.h +++ b/gdb/config/sparc/tm-sun4sol2.h @@ -74,7 +74,5 @@ extern char *sunpro_static_transform_name (char *); #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 diff --git a/gdb/procfs.c b/gdb/procfs.c index a92b8497060..72ad202a2e8 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -4163,7 +4163,7 @@ wait_again: wstat = (what << 8) | 0177; break; case PR_FAULTED: - switch (what) { /* FIXME: FAULTED_USE_SIGINFO */ + switch (what) { #ifdef FLTWATCH case FLTWATCH: wstat = (SIGTRAP << 8) | 0177; -- 2.30.2