aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/arm/tm-arm.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config/arm/tm-arm.h')
-rw-r--r--gdb/config/arm/tm-arm.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/config/arm/tm-arm.h b/gdb/config/arm/tm-arm.h
index c9b91c9..6436d4a 100644
--- a/gdb/config/arm/tm-arm.h
+++ b/gdb/config/arm/tm-arm.h
@@ -453,13 +453,11 @@ void arm_fix_call_dummy (char *dummy, CORE_ADDR pc, CORE_ADDR fun,
/* Most ARMs don't have single stepping capability, so provide a
single-stepping mechanism by default */
-#ifndef SOFTWARE_SINGLE_STEP_P
-#define SOFTWARE_SINGLE_STEP_P 1
-#endif
-#if SOFTWARE_SINGLE_STEP_P
+#undef SOFTWARE_SINGLE_STEP_P
+#define SOFTWARE_SINGLE_STEP_P() 1
+
#define SOFTWARE_SINGLE_STEP(sig,bpt) arm_software_single_step((sig), (bpt))
void arm_software_single_step PARAMS((int, int));
-#endif
CORE_ADDR arm_get_next_pc (CORE_ADDR pc);