diff options
Diffstat (limited to 'gdb/testsuite/lib/compiler.cc')
-rw-r--r-- | gdb/testsuite/lib/compiler.cc | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/gdb/testsuite/lib/compiler.cc b/gdb/testsuite/lib/compiler.cc index 8059e97..72b9dc1 100644 --- a/gdb/testsuite/lib/compiler.cc +++ b/gdb/testsuite/lib/compiler.cc @@ -22,7 +22,7 @@ /* This file is exactly like compiler.c. I could just use compiler.c if I could be sure that every C++ compiler accepted extensions of ".c". */ -set compiler_info "" +set compiler_info "unknown" #if defined (__GNUC__) #if defined (__GNUC_PATCHLEVEL__) @@ -31,23 +31,14 @@ set compiler_info [join {gcc __GNUC__ __GNUC_MINOR__ __GNUC_PATCHLEVEL__} -] #else set compiler_info [join {gcc __GNUC__ __GNUC_MINOR__ "unknown"} -] #endif -set gcc_compiled __GNUC__ -#else -set gcc_compiled 0 #endif #if defined (__HP_cc) set compiler_info [join {hpcc __HP_cc} -] -set hp_cc_compiler __HP_cc -#else -set hp_cc_compiler 0 #endif #if defined (__HP_aCC) set compiler_info [join {hpacc __HP_aCC} -] -set hp_aCC_compiler __HP_aCC -#else -set hp_aCC_compiler 0 #endif /* gdb.base/whatis.exp still uses this */ |