aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/powerpc
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-03-20 18:16:28 +0000
committerAndrew Cagney <cagney@redhat.com>2001-03-20 18:16:28 +0000
commitb0ed35899ae041089835beeb35336494bb50f1d8 (patch)
tree56d4c7b90469b165c1ad35ca636749c97f9f4d3e /gdb/config/powerpc
parentdf087c6239615ba608ed660d3f85de505e8d441e (diff)
downloadgdb-b0ed35899ae041089835beeb35336494bb50f1d8.zip
gdb-b0ed35899ae041089835beeb35336494bb50f1d8.tar.gz
gdb-b0ed35899ae041089835beeb35336494bb50f1d8.tar.bz2
Change SOFTWARE_SINGLE_STEP_P into SOFTWARE_SINGLE_STEP_P().
Diffstat (limited to 'gdb/config/powerpc')
-rw-r--r--gdb/config/powerpc/tm-linux.h2
-rw-r--r--gdb/config/powerpc/tm-ppc-eabi.h2
2 files changed, 2 insertions, 2 deletions
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 */