aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-02-02 18:10:07 +0000
committerPedro Alves <palves@redhat.com>2012-02-02 18:10:07 +0000
commit4c9ed63c1f5f1c2921fb7b4761b92f838c7ded23 (patch)
treead6b938f8c4cda7ea0c2772b9d90ff13ba58f1b0
parentc0b9f2c6e8ec5c960dea8ee7d60d8afb9a9367f8 (diff)
downloadgdb-4c9ed63c1f5f1c2921fb7b4761b92f838c7ded23.zip
gdb-4c9ed63c1f5f1c2921fb7b4761b92f838c7ded23.tar.gz
gdb-4c9ed63c1f5f1c2921fb7b4761b92f838c7ded23.tar.bz2
2012-02-02 Pedro Alves <palves@redhat.com>
* gdb.reverse/until-precsave.exp: Also put "record save" under the extended timeout.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.reverse/until-precsave.exp3
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 573ecbe..143dae1 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2012-02-02 Pedro Alves <palves@redhat.com>
+ * gdb.reverse/until-precsave.exp: Also put "record save" under the
+ extended timeout.
+
+2012-02-02 Pedro Alves <palves@redhat.com>
+
* gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
* gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
diff --git a/gdb/testsuite/gdb.reverse/until-precsave.exp b/gdb/testsuite/gdb.reverse/until-precsave.exp
index ce62c07..903bbc1 100644
--- a/gdb/testsuite/gdb.reverse/until-precsave.exp
+++ b/gdb/testsuite/gdb.reverse/until-precsave.exp
@@ -52,11 +52,12 @@ gdb_test "break $end_of_main" \
set oldtimeout $timeout
set timeout [expr $oldtimeout + 120]
gdb_test "continue" "Breakpoint .* set breakpoint 10a here .*" "run to end of main"
-set timeout $oldtimeout
+# So can this, against gdbserver, for example.
gdb_test "record save until.precsave" \
"Saved core file until.precsave with execution log\." \
"save process recfile"
+set timeout $oldtimeout
gdb_test "kill" "" "Kill process, prepare to debug log file" \
"Kill the program being debugged\\? \\(y or n\\) " "y"