diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/ptype.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/ptype.exp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/ptype.exp b/gdb/testsuite/gdb.base/ptype.exp index f5b45034245..82bf7df2308 100644 --- a/gdb/testsuite/gdb.base/ptype.exp +++ b/gdb/testsuite/gdb.base/ptype.exp @@ -132,6 +132,9 @@ if {!$gcc_compiled && !$hp_aCC_compiler} { setup_xfail "rs6000-*-*" "i*86-*-sysv4*" setup_xfail "hppa*-*-*" CLLbs14773 } + +# For get_debug_format to do its job, we need to have a current source file. +gdb_test "list main" "" get_debug_format setup_xfail_format "DWARF 1" gdb_test "whatis v_boolean" "type = (enum |)boolean" \ |