aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoj Iyer <manjo@austin.ibm.com>2005-03-07 21:37:25 +0000
committerManoj Iyer <manjo@austin.ibm.com>2005-03-07 21:37:25 +0000
commit384e1a6106a6de8ed9e5df2cab4e90b62420902e (patch)
treeb265c2599c76d5b24a444d83c9620a9f5c09d38d
parent584b6e9e3782806f26063dcfead3e6af0f9fa711 (diff)
downloadgdb-384e1a6106a6de8ed9e5df2cab4e90b62420902e.zip
gdb-384e1a6106a6de8ed9e5df2cab4e90b62420902e.tar.gz
gdb-384e1a6106a6de8ed9e5df2cab4e90b62420902e.tar.bz2
2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
* gdb.base/command.exp: Change hardcoded value to regular expression. * gdb.base/float.exp: Add powerpc to the list of targets checked.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/commands.exp2
-rw-r--r--gdb/testsuite/gdb.base/float.exp2
3 files changed, 8 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 46e880b..4144dc5 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
+
+ * gdb.base/command.exp: Change hardcoded value to regular expression.
+ * gdb.base/float.exp: Add powerpc to the list of targets checked.
+
2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
diff --git a/gdb/testsuite/gdb.base/commands.exp b/gdb/testsuite/gdb.base/commands.exp
index 93ddd7e..eabf85e 100644
--- a/gdb/testsuite/gdb.base/commands.exp
+++ b/gdb/testsuite/gdb.base/commands.exp
@@ -331,7 +331,7 @@ proc watchpoint_command_test {} {
}
send_gdb "continue\n"
gdb_expect {
- -re "Continuing.*\[Ww\]atchpoint $wp_id deleted because the program has left the block in.*which its expression is valid.*run.c:57.*$gdb_prompt $" {
+ -re "Continuing.*\[Ww\]atchpoint $wp_id deleted because the program has left the block in.*which its expression is valid.*run.c:(57|82).*$gdb_prompt $" {
pass "continue with watch"
}
-re "$gdb_prompt $" {fail "continue with watch"}
diff --git a/gdb/testsuite/gdb.base/float.exp b/gdb/testsuite/gdb.base/float.exp
index c09c37b..a814d57 100644
--- a/gdb/testsuite/gdb.base/float.exp
+++ b/gdb/testsuite/gdb.base/float.exp
@@ -65,6 +65,8 @@ if { [istarget "alpha*-*-*"] } then {
gdb_test "info float" "fp0.*fp1.*fp7.*" "info float"
} elseif [istarget "mips*-*-*"] then {
gdb_test "info float" "f0:.*flt:.*dbl:.*" "info float"
+} elseif [istarget "powerpc*-*-*"] then {
+ gdb_test "info float" "f0.*f1.*f31.*fpscr.*" "info float"
} elseif [istarget "s390*-*-*"] then {
gdb_test "info float" "fpc.*f0.*f1.*f15.*" "info float"
} elseif [istarget "sh*-*"] then {