aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
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
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')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/lib/compiler.c4
-rw-r--r--gdb/testsuite/lib/compiler.cc4
3 files changed, 13 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index ba927c2..b31e487 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2006-03-07 Paul Brook <paul@codesourcery.com>
+ * lib/compiler.c: Extract armcc version number.
+ * lib/compiler.cc: Ditto.
+
+2006-03-07 Paul Brook <paul@codesourcery.com>
+
* gdb.arch/altivec-abi.exp: Use nowarnings instead of
additional_flags=-w.
* gdb.arch/altivec-regs.exp: Ditto.
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
diff --git a/gdb/testsuite/lib/compiler.cc b/gdb/testsuite/lib/compiler.cc
index 6031900..444fb63 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