diff options
author | Tom Tromey <tromey@redhat.com> | 2012-07-11 15:21:36 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-07-11 15:21:36 +0000 |
commit | 55baab269c2296f4749a5a979fdc8f7e6414dd70 (patch) | |
tree | 5fe68ff39944f2a5dc23838436fb1f817fd848a2 /gdb/testsuite/gdb.reverse/solib-precsave.exp | |
parent | 1f3212db282db657b7511fe0bee6285eafb67351 (diff) | |
download | gdb-55baab269c2296f4749a5a979fdc8f7e6414dd70.zip gdb-55baab269c2296f4749a5a979fdc8f7e6414dd70.tar.gz gdb-55baab269c2296f4749a5a979fdc8f7e6414dd70.tar.bz2 |
* gdb.reverse/break-precsave.exp: Use standard_output_file.
* gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
* gdb.reverse/finish-precsave.exp: Use standard_output_file.
* gdb.reverse/i386-precsave.exp: Use standard_output_file.
* gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
* gdb.reverse/sigall-precsave.exp: Use standard_output_file.
* gdb.reverse/solib-precsave.exp: Use standard_output_file.
* gdb.reverse/step-precsave.exp: Use standard_output_file.
* gdb.reverse/until-precsave.exp: Use standard_output_file.
* gdb.reverse/watch-precsave.exp: Use standard_output_file.
Diffstat (limited to 'gdb/testsuite/gdb.reverse/solib-precsave.exp')
-rw-r--r-- | gdb/testsuite/gdb.reverse/solib-precsave.exp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.reverse/solib-precsave.exp b/gdb/testsuite/gdb.reverse/solib-precsave.exp index 7e60ebd..85384c3 100644 --- a/gdb/testsuite/gdb.reverse/solib-precsave.exp +++ b/gdb/testsuite/gdb.reverse/solib-precsave.exp @@ -22,6 +22,7 @@ if ![supports_process_record] { } standard_testfile solib-reverse.c +set precsave [standard_output_file solib.precsave] set libfile "shr2" set libsrc ${libfile}.c set library [standard_output_file ${libfile}.sl] @@ -74,14 +75,14 @@ gdb_test "break $end_of_main" \ gdb_test "continue" "Breakpoint .* end of main .*" "run to end of main" -gdb_test "record save solib.precsave" \ - "Saved core file solib.precsave with execution log\." \ +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" -gdb_test "record restore solib.precsave" \ +gdb_test "record restore $precsave" \ "Program terminated with signal .*" \ "reload core file" |