aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib/compiler.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2006-03-07 18:51:56 +0000
committerPaul Brook <paul@codesourcery.com>2006-03-07 18:51:56 +0000
commite546101697a4e017451f5918d7e4c4c50c0942fe (patch)
tree47a85ec67e6d684c11022bf9d62d9bf6c134aa80 /gdb/testsuite/lib/compiler.c
parentfc91c6c2b9b2af49624c4cbc34247ad590c850af (diff)
downloadgdb-e546101697a4e017451f5918d7e4c4c50c0942fe.zip
gdb-e546101697a4e017451f5918d7e4c4c50c0942fe.tar.gz
gdb-e546101697a4e017451f5918d7e4c4c50c0942fe.tar.bz2
2006-03-07 Paul Brook <paul@codesourcery.com>
* lib/compiler.c: Extract armcc version number. * lib/compiler.cc: Ditto.
Diffstat (limited to 'gdb/testsuite/lib/compiler.c')
-rw-r--r--gdb/testsuite/lib/compiler.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/lib/compiler.c b/gdb/testsuite/lib/compiler.c
index 7160591..bfec521 100644
--- a/gdb/testsuite/lib/compiler.c
+++ b/gdb/testsuite/lib/compiler.c
@@ -70,3 +70,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