aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib/compiler.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2015-12-21 11:23:43 -0500
committerSimon Marchi <simon.marchi@ericsson.com>2015-12-21 11:23:43 -0500
commitb6304613bf0bb1c188bed30eb3df6e3e154b4196 (patch)
tree7bac85fd0d40747b29ae49797977820d4d28fbe5 /gdb/testsuite/lib/compiler.c
parent35adc03f3787405297259a1706608bdeaab4fda9 (diff)
downloadgdb-b6304613bf0bb1c188bed30eb3df6e3e154b4196.zip
gdb-b6304613bf0bb1c188bed30eb3df6e3e154b4196.tar.gz
gdb-b6304613bf0bb1c188bed30eb3df6e3e154b4196.tar.bz2
Remove references to HP CC/aCC compiler from testsuite
The HP CC/aCC compiler is exclusive to HP-UX, for which support has been explicitly removed. Therefore, It does not make sense to keep tests for these compilers' quirks. gdb/testsuite/ChangeLog: * gdb.base/break.exp: Remove references to HP CC/aCC compilers. * gdb.base/call-ar-st.exp: Likewise. * gdb.base/callfuncs.exp: Likewise. * gdb.base/condbreak.exp: Likewise. * gdb.base/constvars.exp: Likewise. * gdb.base/hbreak2.exp: Likewise. * gdb.base/langs.exp: Likewise. * gdb.base/list.exp: Likewise. * gdb.base/long_long.exp: Likewise. * gdb.base/ptype.exp: Likewise. * gdb.base/scope.exp: Likewise. * gdb.base/signals.exp: Likewise. * gdb.base/so-impl-ld.exp: Likewise. * gdb.base/varargs.exp: Likewise. * gdb.base/volatile.exp: Likewise. * gdb.base/whatis.exp: Likewise. * gdb.cp/cplusfuncs.exp: Likewise. * gdb.cp/inherit.exp: Likewise. * gdb.cp/local.exp: Likewise. * gdb.cp/member-ptr.exp: Likewise. * gdb.cp/method.exp: Likewise. * gdb.cp/overload.exp: Likewise. * gdb.cp/templates.exp: Likewise. * gdb.stabs/weird.exp: Likewise. * lib/compiler.c: Likewise. * lib/compiler.cc: Likewise. * lib/cp-support.exp: Likewise. * lib/gdb.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/lib/compiler.c')
-rw-r--r--gdb/testsuite/lib/compiler.c25
1 files changed, 2 insertions, 23 deletions
diff --git a/gdb/testsuite/lib/compiler.c b/gdb/testsuite/lib/compiler.c
index f0e4559..ef6efe9 100644
--- a/gdb/testsuite/lib/compiler.c
+++ b/gdb/testsuite/lib/compiler.c
@@ -28,18 +28,11 @@
test_compiler_info.
TODO: all clients should use test_compiler_info and should not
- use gcc_compiled, hp_cc_compiler, or hp_aCC_compiler.
+ use gcc_compiled.
*/
-/* Note the semicolon at the end of this line. Older versions of
- hp c++ have a bug in string preprocessing: if the last token on a
- line is a string, then the preprocessor concatenates the next line
- onto the current line and eats the newline! That messes up TCL of
- course. That happens with HP aC++ A.03.13, but it no longer happens
- with HP aC++ A.03.45. */
-
-set compiler_info "unknown" ;
+set compiler_info "unknown"
#if defined (__GNUC__)
#if defined (__GNUC_PATCHLEVEL__)
@@ -50,20 +43,6 @@ set compiler_info [join {gcc __GNUC__ __GNUC_MINOR__ "unknown"} -]
#endif
#endif
-#if defined (__HP_CXD_SPP)
-/* older hp ansi c, such as A.11.01.25171.gp, defines this */
-set compiler_info [join {hpcc __HP_CXD_SPP} -]
-#endif
-
-#if defined (__HP_cc)
-/* newer hp ansi c, such as B.11.11.28706.gp, defines this */
-set compiler_info [join {hpcc __HP_cc} -]
-#endif
-
-#if defined (__HP_aCC)
-set compiler_info [join {hpacc __HP_aCC} -]
-#endif
-
#if defined (__xlc__)
/* IBM'x xlc compiler. NOTE: __xlc__ expands to a double quoted string of four
numbers seperated by '.'s: currently "7.0.0.0" */