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 | e546101697a4e017451f5918d7e4c4c50c0942fe (patch) | |
tree | 47a85ec67e6d684c11022bf9d62d9bf6c134aa80 /gdb/testsuite/lib/compiler.c | |
parent | 2006-03-07 Paul Brook <paul@codesourcery.com> (diff) | |
download | binutils-gdb-e546101697a4e017451f5918d7e4c4c50c0942fe.tar.gz binutils-gdb-e546101697a4e017451f5918d7e4c4c50c0942fe.tar.bz2 binutils-gdb-e546101697a4e017451f5918d7e4c4c50c0942fe.zip |
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.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 |