summaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib/compiler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/lib/compiler.cc')
-rw-r--r--gdb/testsuite/lib/compiler.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/lib/compiler.cc b/gdb/testsuite/lib/compiler.cc
index 60319007bc1..444fb6376a3 100644
--- a/gdb/testsuite/lib/compiler.cc
+++ b/gdb/testsuite/lib/compiler.cc
@@ -58,3 +58,7 @@ set compiler_info [join {hpacc __HP_aCC} -]
numbers seperated by '.'s: currently "7.0.0.0" */
set need_a_set [regsub -all {\.} [join {xlc __xlc__} -] - compiler_info]
#endif
+
+#if defined (__ARMCC_VERSION)
+set compiler_info [join {armcc __ARMCC_VERSION} -]
+#endif