aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/ending-run.exp
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2009-03-26 23:30:12 +0000
committerTom Tromey <tromey@redhat.com>2009-03-26 23:30:12 +0000
commit56ef84b1f160a25c6f41c0778192f2642d250624 (patch)
tree372db62586a820f70111c4d1f627f32656d59be6 /gdb/testsuite/gdb.base/ending-run.exp
parenta5321aa4d5bcbe30b94819727445a506e4fbe4b1 (diff)
downloadgdb-56ef84b1f160a25c6f41c0778192f2642d250624.zip
gdb-56ef84b1f160a25c6f41c0778192f2642d250624.tar.gz
gdb-56ef84b1f160a25c6f41c0778192f2642d250624.tar.bz2
gdb
* breakpoint.c (resolve_sal_pc): Preserve original line number when skipping prologue. gdb/testsuite Update for change to prologue skipping: * gdb.mi/mi2-simplerun.exp: Update. * gdb.mi/mi2-break.exp: Update. * gdb.mi/mi-simplerun.exp: Update. * gdb.mi/mi-break.exp: Update. * gdb.base/ending-run.exp: Update.
Diffstat (limited to 'gdb/testsuite/gdb.base/ending-run.exp')
-rw-r--r--gdb/testsuite/gdb.base/ending-run.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/ending-run.exp b/gdb/testsuite/gdb.base/ending-run.exp
index 42b4577..cf33602 100644
--- a/gdb/testsuite/gdb.base/ending-run.exp
+++ b/gdb/testsuite/gdb.base/ending-run.exp
@@ -69,7 +69,7 @@ gdb_expect {
gdb_test "b ending-run.c:1" ".*Breakpoint.*4.*"
gdb_test "b ending-run.c:14" ".*Note.*also.*Breakpoint.*5.*" "b ending-run.c:14, two"
gdb_test "cle ending-run.c:14" \
- ".*Deleted breakpoints 4 5.*" "Cleared 2 by line"
+ ".*Deleted breakpoint 5.*" "Cleared 2 by line"
send_gdb "inf line ending-run.c:14\n"
gdb_expect {
@@ -77,7 +77,7 @@ gdb_expect {
set line_nine $expect_out(1,string)
gdb_test "b ending-run.c:14" ".*Breakpoint 6.*ending-run.c, line 14.*"
gdb_test "b *$line_nine" ".*Note.*also.*Breakpoint 7.*" "Breakpoint 7 at *ending-run.c:14"
- gdb_test "cle" ".*Deleted breakpoints 6 7.*" "Clear 2 by default"
+ gdb_test "cle" ".*Deleted breakpoints 4 6 7.*" "Clear 2 by default"
}
-re ".*$gdb_prompt $" {
fail "need to fix test for new compile outcome"