diff options
author | Paul Brook <paul@codesourcery.com> | 2006-03-07 18:51:56 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2006-03-07 18:51:56 +0000 |
commit | 8ff1898517c11f8cc4c16a41dd62721f763d5e6f (patch) | |
tree | 58b21ed3ca1dab6efe8caab077226da6b5202e2c | |
parent | 3467fbf0747d58538c38f8d2c77ff5aca46c9d4d (diff) | |
download | gdb-8ff1898517c11f8cc4c16a41dd62721f763d5e6f.tar.gz |
2006-03-07 Paul Brook <paul@codesourcery.com>
* lib/compiler.c: Extract armcc version number.
* lib/compiler.cc: Ditto.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/lib/compiler.c | 4 | ||||
-rw-r--r-- | gdb/testsuite/lib/compiler.cc | 4 |
3 files changed, 13 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ba927c28eb7..b31e4877505 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 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 |