aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2008-03-31 10:46:17 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2008-03-31 10:46:17 +0000
commit55b411d9982f80269fe46fd30d93861666c217a8 (patch)
treec5c00334c058924f9f1996558b8b2a6a5e8a01ef
parent95f0efb9180faceb84f746db32a13630d5294e55 (diff)
downloadgdb-55b411d9982f80269fe46fd30d93861666c217a8.zip
gdb-55b411d9982f80269fe46fd30d93861666c217a8.tar.gz
gdb-55b411d9982f80269fe46fd30d93861666c217a8.tar.bz2
* gdb.base/break.exp: Mark failures as such. Fix formatting.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/break.exp24
2 files changed, 22 insertions, 6 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 56dd55b..299ac86 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2008-03-31 Maciej W. Rozycki <macro@mips.com>
+
+ * gdb.base/break.exp: Mark failures as such. Fix formatting.
+
2008-03-31 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
diff --git a/gdb/testsuite/gdb.base/break.exp b/gdb/testsuite/gdb.base/break.exp
index 2e042dd..74fb30e 100644
--- a/gdb/testsuite/gdb.base/break.exp
+++ b/gdb/testsuite/gdb.base/break.exp
@@ -286,9 +286,15 @@ gdb_test "tbreak $srcfile:factorial" "Breakpoint.*at.* file .*$srcfile, line.*"
#
send_gdb "tbreak $bp_location1\n"
gdb_expect {
- -re "Breakpoint.*at.* file .*$srcfile, line $bp_location1.*$gdb_prompt $" { pass "Temporary breakpoint line number #1" }
- -re ".*$gdb_prompt $" { pass "Temporary breakpoint line number #1" }
- timeout { fail "breakpoint line number #1 (timeout)" }
+ -re "Breakpoint.*at.* file .*$srcfile, line $bp_location1.*$gdb_prompt $" {
+ pass "Temporary breakpoint line number #1"
+ }
+ -re ".*$gdb_prompt $" {
+ fail "Temporary breakpoint line number #1"
+ }
+ timeout {
+ fail "Temporary breakpoint line number #1 (timeout)"
+ }
}
gdb_test "tbreak $bp_location6" "Breakpoint.*at.* file .*$srcfile, line $bp_location6.*" "Temporary breakpoint line number #2"
@@ -298,9 +304,15 @@ gdb_test "tbreak $bp_location6" "Breakpoint.*at.* file .*$srcfile, line $bp_loca
#
send_gdb "tbreak $srcfile:$bp_location2\n"
gdb_expect {
- -re "Breakpoint.*at.* file .*$srcfile, line $bp_location2.*$gdb_prompt $" { pass "Temporary breakpoint line number in file #1" }
- -re ".*$gdb_prompt $" { pass "Temporary breakpoint line number in file #1" }
- timeout { fail "Temporary breakpoint line number in file #1 (timeout)" }
+ -re "Breakpoint.*at.* file .*$srcfile, line $bp_location2.*$gdb_prompt $" {
+ pass "Temporary breakpoint line number in file #1"
+ }
+ -re ".*$gdb_prompt $" {
+ fail "Temporary breakpoint line number in file #1"
+ }
+ timeout {
+ fail "Temporary breakpoint line number in file #1 (timeout)"
+ }
}
set bp_location11 [gdb_get_line_number "set breakpoint 11 here"]