summaryrefslogtreecommitdiffstats
path: root/cpukit/libdebugger/rtems-debugger-arm.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libdebugger/rtems-debugger-arm.c')
-rw-r--r--cpukit/libdebugger/rtems-debugger-arm.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/libdebugger/rtems-debugger-arm.c b/cpukit/libdebugger/rtems-debugger-arm.c
index 106cbe8b8a..ba01a860c8 100644
--- a/cpukit/libdebugger/rtems-debugger-arm.c
+++ b/cpukit/libdebugger/rtems-debugger-arm.c
@@ -1678,6 +1678,7 @@ target_exception_data_abort(void)
}
#if ARM_CP15
+#if __ARM_ARCH_PROFILE == 'A'
/**
* The init value for the text section.
*/
@@ -1701,6 +1702,12 @@ rtems_debugger_target_set_mmu(void)
text_end,
ARMV7_MMU_DATA_READ_WRITE_CACHED);
}
+#else
+static void
+rtems_debugger_target_set_mmu(void)
+{
+}
+#endif
static void
rtems_debugger_target_set_vectors(void)