From b0ed35899ae041089835beeb35336494bb50f1d8 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 20 Mar 2001 18:16:28 +0000 Subject: Change SOFTWARE_SINGLE_STEP_P into SOFTWARE_SINGLE_STEP_P(). --- gdb/config/arc/tm-arc.h | 2 +- gdb/config/arm/tm-wince.h | 2 +- gdb/config/mips/tm-wince.h | 2 +- gdb/config/powerpc/tm-linux.h | 2 +- gdb/config/powerpc/tm-ppc-eabi.h | 2 +- gdb/config/rs6000/tm-rs6000.h | 2 +- gdb/config/sh/tm-wince.h | 2 +- gdb/config/sparc/tm-sparc.h | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) (limited to 'gdb/config') diff --git a/gdb/config/arc/tm-arc.h b/gdb/config/arc/tm-arc.h index 93ba395..8595d85 100644 --- a/gdb/config/arc/tm-arc.h +++ b/gdb/config/arc/tm-arc.h @@ -63,7 +63,7 @@ extern CORE_ADDR arc_skip_prologue (CORE_ADDR, int); /* We don't have a reliable single step facility. ??? We do have a cycle single step facility, but that won't work. */ -#define SOFTWARE_SINGLE_STEP_P 1 +#define SOFTWARE_SINGLE_STEP_P() 1 extern void arc_software_single_step (unsigned int, int); #define SOFTWARE_SINGLE_STEP(sig,bp_p) arc_software_single_step (sig, bp_p) diff --git a/gdb/config/arm/tm-wince.h b/gdb/config/arm/tm-wince.h index 0de5fbe..40e58ba 100644 --- a/gdb/config/arm/tm-wince.h +++ b/gdb/config/arm/tm-wince.h @@ -24,7 +24,7 @@ #include "arm/tm-arm.h" #undef SOFTWARE_SINGLE_STEP_P -#define SOFTWARE_SINGLE_STEP_P 1 +#define SOFTWARE_SINGLE_STEP_P() 1 #undef SOFTWARE_SINGLE_STEP #define SOFTWARE_SINGLE_STEP(sig, bp_p) wince_software_single_step (sig, bp_p) diff --git a/gdb/config/mips/tm-wince.h b/gdb/config/mips/tm-wince.h index 2cb7e49..10e2eeb 100644 --- a/gdb/config/mips/tm-wince.h +++ b/gdb/config/mips/tm-wince.h @@ -25,7 +25,7 @@ #include "mips/tm-mips.h" #undef SOFTWARE_SINGLE_STEP_P -#define SOFTWARE_SINGLE_STEP_P 1 +#define SOFTWARE_SINGLE_STEP_P() 1 #define SOFTWARE_SINGLE_STEP(sig, bp_p) wince_software_single_step (sig, bp_p) void wince_software_single_step (unsigned int, int); diff --git a/gdb/config/powerpc/tm-linux.h b/gdb/config/powerpc/tm-linux.h index 20a062b..a7935c2 100644 --- a/gdb/config/powerpc/tm-linux.h +++ b/gdb/config/powerpc/tm-linux.h @@ -29,7 +29,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #undef SOFTWARE_SINGLE_STEP #define SOFTWARE_SINGLE_STEP(p,q) internal_error (__FILE__, __LINE__, "Will never execute!") #undef SOFTWARE_SINGLE_STEP_P -#define SOFTWARE_SINGLE_STEP_P 0 +#define SOFTWARE_SINGLE_STEP_P() 0 /* Make sure nexti gets the help it needs for debugging assembly code without symbols */ diff --git a/gdb/config/powerpc/tm-ppc-eabi.h b/gdb/config/powerpc/tm-ppc-eabi.h index 2640cfc..f0410b7 100644 --- a/gdb/config/powerpc/tm-ppc-eabi.h +++ b/gdb/config/powerpc/tm-ppc-eabi.h @@ -26,7 +26,7 @@ #include "rs6000/tm-rs6000.h" /* except we want to allow single stepping */ #undef SOFTWARE_SINGLE_STEP_P -#define SOFTWARE_SINGLE_STEP_P 0 +#define SOFTWARE_SINGLE_STEP_P() 0 #undef DEFAULT_LR_SAVE #define DEFAULT_LR_SAVE 4 /* eabi saves LR at 4 off of SP */ diff --git a/gdb/config/rs6000/tm-rs6000.h b/gdb/config/rs6000/tm-rs6000.h index 47be046..015169a 100644 --- a/gdb/config/rs6000/tm-rs6000.h +++ b/gdb/config/rs6000/tm-rs6000.h @@ -98,7 +98,7 @@ extern void aix_process_linenos (void); /* RS6000/AIX does not support PT_STEP. Has to be simulated. */ -#define SOFTWARE_SINGLE_STEP_P 1 +#define SOFTWARE_SINGLE_STEP_P() 1 extern void rs6000_software_single_step (unsigned int, int); #define SOFTWARE_SINGLE_STEP(sig,bp_p) rs6000_software_single_step (sig, bp_p) diff --git a/gdb/config/sh/tm-wince.h b/gdb/config/sh/tm-wince.h index 1681614..4c4869a 100644 --- a/gdb/config/sh/tm-wince.h +++ b/gdb/config/sh/tm-wince.h @@ -23,7 +23,7 @@ #include "sh/tm-sh.h" #undef SOFTWARE_SINGLE_STEP_P -#define SOFTWARE_SINGLE_STEP_P 1 +#define SOFTWARE_SINGLE_STEP_P() 1 #undef SOFTWARE_SINGLE_STEP #define SOFTWARE_SINGLE_STEP(sig, bp_p) wince_software_single_step (sig, bp_p) diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h index 02b9a1a..eb2b298 100644 --- a/gdb/config/sparc/tm-sparc.h +++ b/gdb/config/sparc/tm-sparc.h @@ -739,7 +739,7 @@ extern void sparc32_extract_return_value (struct type *, char[], char *); /* Sparc has no reliable single step ptrace call */ -#define SOFTWARE_SINGLE_STEP_P 1 +#define SOFTWARE_SINGLE_STEP_P() 1 extern void sparc_software_single_step (unsigned int, int); #define SOFTWARE_SINGLE_STEP(sig,bp_p) sparc_software_single_step (sig,bp_p) -- cgit v1.1