diff options
Diffstat (limited to 'gdb/testsuite/gdb.go/integers.exp')
-rw-r--r-- | gdb/testsuite/gdb.go/integers.exp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gdb/testsuite/gdb.go/integers.exp b/gdb/testsuite/gdb.go/integers.exp index b823f5a..dd28f6d 100644 --- a/gdb/testsuite/gdb.go/integers.exp +++ b/gdb/testsuite/gdb.go/integers.exp @@ -39,20 +39,20 @@ if { [gdb_breakpoint ${srcfile}:${bp_location1}] } { pass "setting breakpoint 1" } -gdb_test "cont" "Breakpoint .*:${bp_location1}.*" "Going to first breakpoint" +gdb_test "cont" "Breakpoint .*:${bp_location1}.*" "going to first breakpoint" -gdb_test "print i" ".* = 0" "Print i before assigned to 1" +gdb_test "print i" ".* = 0" "print i before assigned to 1" -gdb_test "next" "i = 1" "Next to 'i = 1' line" -gdb_test "next" "j = 2" "Next to 'j = 2' line" +gdb_test "next" "i = 1" "next to 'i = 1' line" +gdb_test "next" "j = 2" "next to 'j = 2' line" # At that point, # i should be equal to 1 gdb_test "print i" " = 1" # but j should still be equal to zero -gdb_test "print j" " = 0" "Test j value before assignment" +gdb_test "print j" " = 0" "test j value before assignment" -gdb_test "next" "k = 3" "Next to 'k = 3' line" -gdb_test "next" "l = k" "Next to 'l = k' line" +gdb_test "next" "k = 3" "next to 'k = 3' line" +gdb_test "next" "l = k" "next to 'l = k' line" #j should be equal to 2 gdb_test "print j" " = 2" @@ -101,7 +101,7 @@ gdb_test "print i+10*j+100*k" " = 321" gdb_test " print (i + 5) * (j + 7)" " = 54" gdb_test "set var i = 2" " = 2" -gdb_test "print i" " = 2" "Testing new i value" +gdb_test "print i" " = 2" "testing new i value" if { [gdb_breakpoint ${srcfile}:${bp_location2}] } { pass "setting breakpoint 2" |