diff options
author | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-07-07 17:19:49 +0000 |
---|---|---|
committer | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-07-07 17:19:49 +0000 |
commit | 52a4b2d59fd94d339fc9aeda3876704639d031e9 (patch) | |
tree | a6ff62d553205d544723b11293eff14bd1b3dc3f /gdb/testsuite/gdb.base/ptype.exp | |
parent | af383c16663f9aad7c508debeb75f9fdf8ea8ce6 (diff) | |
download | gdb-52a4b2d59fd94d339fc9aeda3876704639d031e9.tar.gz |
import gdb-1999-07-07 pre reformat
Diffstat (limited to 'gdb/testsuite/gdb.base/ptype.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/ptype.exp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/ptype.exp b/gdb/testsuite/gdb.base/ptype.exp index 98d45869e87..d36efec12c6 100644 --- a/gdb/testsuite/gdb.base/ptype.exp +++ b/gdb/testsuite/gdb.base/ptype.exp @@ -131,6 +131,7 @@ gdb_test "ptype boolean" "type = enum (boolean |)\{FALSE, TRUE\}.*" "ptype unnam if {!$gcc_compiled && !$hp_aCC_compiler} { setup_xfail "rs6000-*-*" "i*86-*-sysv4*" "hppa*-*-*" # CLLbs14773 } +get_debug_format setup_xfail_format "DWARF 1" gdb_test "whatis v_boolean" "type = (enum |)boolean" \ "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" @@ -530,13 +531,16 @@ gdb_test "ptype nested_su.inner_union_instance" "type = union ${outer}inner_unio if [runto_main] then { - get_debug_format if [target_info exists gdb,cannot_call_functions] { setup_xfail "*-*-*" 2416 fail "This target can not call functions" continue } + # We need to up this because this can be really slow on some boards. + # (malloc() is called as part of the test). + set timeout 60; + gdb_test "ptype \"abc\"" "type = char \\\[4\\\]" gdb_test "ptype {'a','b','c'}" "type = char \\\[3\\\]" gdb_test "ptype {0,1,2}" "type = int \\\[3\\\]" |