diff options
Diffstat (limited to 'gdb/testsuite/gdb.reverse/step-precsave.exp')
-rw-r--r-- | gdb/testsuite/gdb.reverse/step-precsave.exp | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.reverse/step-precsave.exp b/gdb/testsuite/gdb.reverse/step-precsave.exp index 5b1b416..f2a5299 100644 --- a/gdb/testsuite/gdb.reverse/step-precsave.exp +++ b/gdb/testsuite/gdb.reverse/step-precsave.exp @@ -44,11 +44,18 @@ gdb_test "break $end_of_main" \ "Breakpoint $decimal at .*$srcfile, line $end_of_main\." \ "BP at end of main" -gdb_test "continue" "Breakpoint .* end of main .*" "run to end of main" +# This can take awhile. +with_timeout_factor 20 { + gdb_test "continue" "Breakpoint .* end of main .*" "run to end of main" +} + +# So can this, against gdbserver, for example. -gdb_test "record save $precsave" \ - "Saved core file $precsave with execution log\." \ - "save process recfile" +with_timeout_factor 10 { + gdb_test "record save $precsave" \ + "Saved core file $precsave with execution log\." \ + "save process recfile" +} gdb_test "kill" "" "Kill process, prepare to debug log file" \ "Kill the program being debugged\\? \\(y or n\\) " "y" |