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 | fc91c6c2b9b2af49624c4cbc34247ad590c850af (diff) | |
download | gdb-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/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 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 |