X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gdb%2Ftestsuite%2Fgdb.reverse%2Fbreak-precsave.exp;h=aa7d10dbf23f816afdc34155be9cca38f2081614;hb=003ea5a89ab7e9eaa65cb158a953d63dac2612c6;hp=3206e3c144be111664e92aefcde20a13598576e6;hpb=a0eaec95753c0f093f5cb80080ef423030d35edd;p=platform%2Fupstream%2Fgdb.git diff --git a/gdb/testsuite/gdb.reverse/break-precsave.exp b/gdb/testsuite/gdb.reverse/break-precsave.exp index 3206e3c..aa7d10d 100644 --- a/gdb/testsuite/gdb.reverse/break-precsave.exp +++ b/gdb/testsuite/gdb.reverse/break-precsave.exp @@ -1,4 +1,4 @@ -# Copyright 2008-2014 Free Software Foundation, Inc. +# Copyright 2008-2015 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -45,7 +45,7 @@ proc precsave_tests {} { } gdb_test "break $end_location" \ - "Breakpoint $decimal at .*/$srcfile, line $end_location\." \ + "Breakpoint $decimal at .*$srcfile, line $end_location\." \ "BP at end of main" gdb_test "continue" "Breakpoint .* end of main .*" "run to end of main" @@ -58,7 +58,7 @@ proc precsave_tests {} { "Kill the program being debugged\\? \\(y or n\\) " "y" gdb_test "record restore $precsave" \ - "Program terminated with signal .*" \ + "Restored records from core file .*" \ "reload precord save file" gdb_test "break foo" \ @@ -69,10 +69,10 @@ proc precsave_tests {} { "Breakpoint $decimal at .* line $bar_location\." \ "set breakpoint on bar" - gdb_continue_to_breakpoint "foo" ".*/$srcfile:$foo_location.*" - gdb_continue_to_breakpoint "bar" ".*/$srcfile:$bar_location.*" + gdb_continue_to_breakpoint "foo" ".*$srcfile:$foo_location.*" + gdb_continue_to_breakpoint "bar" ".*$srcfile:$bar_location.*" gdb_test_multiple "continue" "go to end of main forward" { - -re ".*Breakpoint $decimal,.*/$srcfile:$end_location.*$gdb_prompt $" { + -re ".*Breakpoint $decimal,.*$srcfile:$end_location.*$gdb_prompt $" { pass "go to end of main forward" } -re "No more reverse-execution history.* end of main .*$gdb_prompt $" { @@ -82,11 +82,11 @@ proc precsave_tests {} { gdb_test_no_output "set exec-direction reverse" "set reverse" - gdb_continue_to_breakpoint "bar backward" ".*/$srcfile:$bar_location.*" - gdb_continue_to_breakpoint "foo backward" ".*/$srcfile:$foo_location.*" + gdb_continue_to_breakpoint "bar backward" ".*$srcfile:$bar_location.*" + gdb_continue_to_breakpoint "foo backward" ".*$srcfile:$foo_location.*" gdb_test_multiple "continue" "main backward" { - -re ".*Breakpoint $decimal,.*/$srcfile:$main_location.*$gdb_prompt $" { + -re ".*Breakpoint $decimal,.*$srcfile:$main_location.*$gdb_prompt $" { pass "main backward" } -re "No more reverse-execution history.* break in main .*$gdb_prompt $" { @@ -96,11 +96,11 @@ proc precsave_tests {} { gdb_test_no_output "set exec-direction forward" "set forward" - gdb_continue_to_breakpoint "foo" ".*/$srcfile:$foo_location.*" - gdb_continue_to_breakpoint "bar" ".*/$srcfile:$bar_location.*" + gdb_continue_to_breakpoint "foo" ".*$srcfile:$foo_location.*" + gdb_continue_to_breakpoint "bar" ".*$srcfile:$bar_location.*" gdb_test_multiple "continue" "end of record log" { - -re ".*Breakpoint $decimal,.*/$srcfile:$end_location.*$gdb_prompt $" { + -re ".*Breakpoint $decimal,.*$srcfile:$end_location.*$gdb_prompt $" { pass "end of record log" } -re "No more reverse-execution history.* end of main .*$gdb_prompt $" {