aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/whatis.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/whatis.exp')
-rw-r--r--gdb/testsuite/gdb.base/whatis.exp9
1 files changed, 4 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.base/whatis.exp b/gdb/testsuite/gdb.base/whatis.exp
index d540e4c..20cd67e 100644
--- a/gdb/testsuite/gdb.base/whatis.exp
+++ b/gdb/testsuite/gdb.base/whatis.exp
@@ -301,11 +301,10 @@ gdb_test "whatis v_union2" \
"whatis unnamed union"
-if { [istarget "hppa*-hp-hpux10.20"] && $hp_aCC_compiler } {
- # On HP-UX 10.20 with aCC compiler and objdebug mode,
- # we need the 'void' pattern; without objdebug mode,
- # we still need to '' pattern.
- # FIXME: need to look into this further.
+if { [istarget "hppa*-hp-hpux*"] && $hp_aCC_compiler } {
+ # HP-UX: HP aCC compiler w/ +objdebug option detects language as
+ # c++, so we need the 'void' pattern here.
+ # Without +objdebug compilation option we still need to match ''.
# - guo
set void "(void|)"
} else {