Fix mingw32 failures due to incorrect directory separator in pattern
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.reverse / i387-env-reverse.exp
index 5bca27a0239eccdd2d3d99ef1c8fcd5c7906cabf..f5b503ef21827f4b03043f4f873fc508c4b20ac8 100644 (file)
@@ -40,7 +40,7 @@ gdb_test_no_output "record"  "Turn on process record"
 # This can take awhile.
 set oldtimeout $timeout
 set timeout [expr $oldtimeout + 120]
-gdb_test "until $location" ".*/$srcfile:$location.*" \
+gdb_test "until $location" ".*$srcfile:$location.*" \
     "record to end of main"
 set timeout $oldtimeout
 
@@ -48,14 +48,14 @@ set timeout $oldtimeout
 
 set location [gdb_get_line_number "BEGIN I387-FLOAT-REVERSE"]
 gdb_test_no_output "set exec-dir reverse" "set reverse direction"
-gdb_test "until $location" ".*/$srcfile:$location.*" \
+gdb_test "until $location" ".*$srcfile:$location.*" \
     "rewind to beginning of main"
 gdb_test_no_output "set exec-dir forward" "set forward direction"
 
 # Test FPU env particularly ftag and fstatus reigters.
 
 set location [gdb_get_line_number "TEST ENV"]
-gdb_test "until $location" ".*/$srcfile:$location.*asm.*nop.*" \
+gdb_test "until $location" ".*$srcfile:$location.*asm.*nop.*" \
     "begin testing fpu env"       
 
 gdb_test "n" "asm.*fsave.*"               "save FPU env in memory"    
This page took 0.039766 seconds and 4 git commands to generate.