This architecture variant has no MMU.

Update #4202.
---
 cpukit/libdebugger/rtems-debugger-arm.c | 7 +++++++
 1 file changed, 7 insertions(+)

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)
-- 
2.26.2

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to