From e546101697a4e017451f5918d7e4c4c50c0942fe Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Tue, 7 Mar 2006 18:51:56 +0000 Subject: 2006-03-07 Paul Brook * lib/compiler.c: Extract armcc version number. * lib/compiler.cc: Ditto. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/lib/compiler.c | 4 ++++ gdb/testsuite/lib/compiler.cc | 4 ++++ 3 files changed, 13 insertions(+) (limited to 'gdb') diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ba927c2..b31e487 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,10 @@ 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 additional_flags=-w. * gdb.arch/altivec-regs.exp: Ditto. 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 diff --git a/gdb/testsuite/lib/compiler.cc b/gdb/testsuite/lib/compiler.cc index 6031900..444fb63 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 -- cgit v1.1