From 7671bc0350da1a9871b426ad8a90fc6bdea4a543 Mon Sep 17 00:00:00 2001 From: Manoj Iyer Date: Mon, 7 Mar 2005 21:37:25 +0000 Subject: [PATCH] 2005-03-07 Manoj Iyer * gdb.base/command.exp: Change hardcoded value to regular expression. * gdb.base/float.exp: Add powerpc to the list of targets checked. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/commands.exp | 2 +- gdb/testsuite/gdb.base/float.exp | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 46e880b908..4144dc515c 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2005-03-07 Manoj Iyer + + * 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 * 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 93ddd7ed9c..eabf85e442 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 c09c37bb0a..a814d57d93 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 { -- 2.11.0