diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/dump.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/dump.exp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/gdb/testsuite/gdb.base/dump.exp b/gdb/testsuite/gdb.base/dump.exp index eb048b8..1f307f4 100644 --- a/gdb/testsuite/gdb.base/dump.exp +++ b/gdb/testsuite/gdb.base/dump.exp @@ -331,7 +331,7 @@ if ![string compare $is64bitonly "no"] then { test_restore_saved_value "intstr2.srec" "struct as memory, srec" \ $struct_val "intstruct" - gdb_test "print zero_all ()" "" + gdb_test "print zero_all ()" ".*" test_restore_saved_value "intarr1.ihex" "array as value, ihex" \ $array_val "intarray" @@ -339,7 +339,7 @@ if ![string compare $is64bitonly "no"] then { test_restore_saved_value "intstr1.ihex" "struct as value, ihex" \ $struct_val "intstruct" - gdb_test "print zero_all ()" "" + gdb_test "print zero_all ()" ".*" test_restore_saved_value "intarr2.ihex" "array as memory, ihex" \ $array_val "intarray" @@ -347,7 +347,7 @@ if ![string compare $is64bitonly "no"] then { test_restore_saved_value "intstr2.ihex" "struct as memory, ihex" \ $struct_val "intstruct" - gdb_test "print zero_all ()" "" + gdb_test "print zero_all ()" ".*" test_restore_saved_value "intarr1.tekhex" "array as value, tekhex" \ $array_val "intarray" @@ -355,7 +355,7 @@ if ![string compare $is64bitonly "no"] then { test_restore_saved_value "intstr1.tekhex" "struct as value, tekhex" \ $struct_val "intstruct" - gdb_test "print zero_all ()" "" + gdb_test "print zero_all ()" ".*" test_restore_saved_value "intarr2.tekhex" "array as memory, tekhex" \ $array_val "intarray" @@ -364,7 +364,7 @@ if ![string compare $is64bitonly "no"] then { $struct_val "intstruct" } -gdb_test "print zero_all ()" "" +gdb_test "print zero_all ()" ".*" test_restore_saved_value "intarr1.bin binary $array_start" \ "array as value, binary" \ @@ -374,7 +374,7 @@ test_restore_saved_value "intstr1.bin binary $struct_start" \ "struct as value, binary" \ $struct_val "intstruct" -gdb_test "print zero_all ()" "" +gdb_test "print zero_all ()" ".*" test_restore_saved_value "intarr2.bin binary $array_start" \ "array as memory, binary" \ @@ -393,7 +393,7 @@ set array2_offset \ set struct2_offset \ [capture_value "(char *) &intstruct2 - (char *) &intstruct"] -gdb_test "print zero_all ()" "" +gdb_test "print zero_all ()" ".*" if ![string compare $is64bitonly "no"] then { @@ -405,7 +405,7 @@ if ![string compare $is64bitonly "no"] then { "struct copy, srec" \ $struct_val "intstruct2" - gdb_test "print zero_all ()" "" + gdb_test "print zero_all ()" ".*" test_restore_saved_value "intarr1.ihex $array2_offset" \ "array copy, ihex" \ @@ -415,7 +415,7 @@ if ![string compare $is64bitonly "no"] then { "struct copy, ihex" \ $struct_val "intstruct2" - gdb_test "print zero_all ()" "" + gdb_test "print zero_all ()" ".*" test_restore_saved_value "intarr1.tekhex $array2_offset" \ "array copy, tekhex" \ @@ -426,7 +426,7 @@ if ![string compare $is64bitonly "no"] then { $struct_val "intstruct2" } -gdb_test "print zero_all ()" "" +gdb_test "print zero_all ()" ".*" test_restore_saved_value "intarr1.bin binary $array2_start" \ "array copy, binary" \ @@ -453,7 +453,7 @@ set element4_offset \ [capture_value "/x (char *) &intarray\[4\] - (char *) &intarray\[0\]"] if ![string compare $is64bitonly "no"] then { - gdb_test "print zero_all ()" "" + gdb_test "print zero_all ()" ".*" test_restore_saved_value "intarr1.srec 0 $element3_start $element4_start" \ "array partial, srec" 4 "intarray\[3\]" @@ -461,7 +461,7 @@ if ![string compare $is64bitonly "no"] then { gdb_test "print intarray\[2\] == 0" " = 1" "element 2 not changed - 1" gdb_test "print intarray\[4\] == 0" " = 1" "element 4 not changed - 1" - gdb_test "print zero_all ()" "" + gdb_test "print zero_all ()" ".*" test_restore_saved_value "intarr1.ihex 0 $element3_start $element4_start" \ "array partial, ihex" 4 "intarray\[3\]" @@ -469,7 +469,7 @@ if ![string compare $is64bitonly "no"] then { gdb_test "print intarray\[2\] == 0" " = 1" "element 2 not changed - 2" gdb_test "print intarray\[4\] == 0" " = 1" "element 4 not changed - 2" - gdb_test "print zero_all ()" "" + gdb_test "print zero_all ()" ".*" test_restore_saved_value "intarr1.tekhex 0 $element3_start $element4_start" \ "array partial, tekhex" 4 "intarray\[3\]" @@ -478,7 +478,7 @@ if ![string compare $is64bitonly "no"] then { gdb_test "print intarray\[4\] == 0" " = 1" "element 4 not changed - 3" } -gdb_test "print zero_all ()" "" +gdb_test "print zero_all ()" ".*" test_restore_saved_value \ "intarr1.bin binary $array_start $element3_offset $element4_offset" \ |