diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2015-12-21 11:23:43 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2015-12-21 11:23:43 -0500 |
commit | b6304613bf0bb1c188bed30eb3df6e3e154b4196 (patch) | |
tree | 7bac85fd0d40747b29ae49797977820d4d28fbe5 /gdb/testsuite/gdb.base/langs.exp | |
parent | 35adc03f3787405297259a1706608bdeaab4fda9 (diff) | |
download | gdb-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/gdb.base/langs.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/langs.exp | 33 |
1 files changed, 6 insertions, 27 deletions
diff --git a/gdb/testsuite/gdb.base/langs.exp b/gdb/testsuite/gdb.base/langs.exp index 2dce181..92dd08d 100644 --- a/gdb/testsuite/gdb.base/langs.exp +++ b/gdb/testsuite/gdb.base/langs.exp @@ -48,37 +48,18 @@ gdb_test_multiple "b langs0" "break on nonexistent function in langs.exp" { } } -if {$hp_aCC_compiler} { - set isfixed 1 - set lang c\\+\\+ - set ext cxx - set foo_func foo__Fi__Fi - set do_func do::langs0 -} else { - if {$hp_cc_compiler} { - set isfixed 1 - set lang c - set ext c - } else { - set isfixed 0 - } - set foo_func foo__Fi - set do_func langs0__2do -} +# TODO: Since there variables are now constants, we can cleanup the test, +# remove some dead code. +set isfixed 0 +set foo_func foo__Fi +set do_func langs0__2do if [runto csub] then { if { !$isfixed } { set lang c } gdb_test "show language" "currently $lang\".*" \ "show language at csub in langs.exp" - # On some machines, foo doesn't get demangled because the N_SOL for - # langs2.cxx is seen only after the function stab for foo. So - # the following regexps are kludged to accept foo__Fi as well as foo, - # even though only the latter is correct. I haven't tried to xfail it - # because it depends on details of the compiler. - - # Take out xfail. This test has been passing for some time now. - #if {!$gcc_compiled} then { setup_xfail "hppa*-*-hpux*" } + gdb_test "bt" "#0.*csub.*#1.*(foo|$foo_func) \\(.*#2.*cppsub_ .*#3.*fsub.*#4.*$do_func \\(.*#5 \[0-9a-fx\]* in main.*" "backtrace in langs.exp" if { !$isfixed } { set lang c\\+\\+; set ext cxx } @@ -101,8 +82,6 @@ if [runto csub] then { gdb_test "show language" "currently $lang.*" \ "show language at fsub in langs.exp" - # Take out xfail. This test has been passing for sometime now. - #if {!$gcc_compiled} then { setup_xfail "hppa*-*-hpux*" } if { !$isfixed } { set lang c } gdb_test "up" ".* in $do_func .* at .*langs0\\.c.*return fsub.*" \ "up to langs0__2do in langs.exp" |