From: Paul Brook Date: Tue, 7 Mar 2006 18:51:56 +0000 (+0000) Subject: 2006-03-07 Paul Brook X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e546101697a4e017451f5918d7e4c4c50c0942fe;p=binutils-gdb.git 2006-03-07 Paul Brook * lib/compiler.c: Extract armcc version number. * lib/compiler.cc: Ditto. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ba927c28eb7..b31e4877505 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2006-03-07 Paul Brook + + * lib/compiler.c: Extract armcc version number. + * lib/compiler.cc: Ditto. + 2006-03-07 Paul Brook * gdb.arch/altivec-abi.exp: Use nowarnings instead of diff --git a/gdb/testsuite/lib/compiler.c b/gdb/testsuite/lib/compiler.c index 7160591a93c..bfec521be08 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 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