2006-03-07 Paul Brook <paul@codesourcery.com>
authorPaul Brook <paul@codesourcery.com>
Tue, 7 Mar 2006 18:51:56 +0000 (18:51 +0000)
committerPaul Brook <paul@codesourcery.com>
Tue, 7 Mar 2006 18:51:56 +0000 (18:51 +0000)
* lib/compiler.c: Extract armcc version number.
* lib/compiler.cc: Ditto.

gdb/testsuite/ChangeLog
gdb/testsuite/lib/compiler.c
gdb/testsuite/lib/compiler.cc

index ba927c28eb79c6b5cc495da23a6848913a140483..b31e48775053ab719419c8076f42f13c11cf1c04 100644 (file)
@@ -1,3 +1,8 @@
+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
index 7160591a93c20c067182fb6eec3efe52da6d7f25..bfec521be08637e90ddb95cac493546b8ebdf4f9 100644 (file)
@@ -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
index 60319007bc1e97684f3288d30f98bec2128da6f3..444fb6376a300b9f71c36251d75d149d726b58e7 100644 (file)
@@ -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