2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
authorManoj Iyer <manjo@austin.ibm.com>
Mon, 7 Mar 2005 21:37:25 +0000 (21:37 +0000)
committerManoj Iyer <manjo@austin.ibm.com>
Mon, 7 Mar 2005 21:37:25 +0000 (21:37 +0000)
* 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
gdb/testsuite/gdb.base/commands.exp
gdb/testsuite/gdb.base/float.exp

index 46e880b908d424057749ab850b0abbb205510700..4144dc515c2e20b265afd0be1b253e29200f20c6 100644 (file)
@@ -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,
index 93ddd7ed9cb264a0b0d5e8cc9ea78f4516cb8230..eabf85e442bbb2fa88760b0f0dc7535a97f2ca42 100644 (file)
@@ -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"}
index c09c37bb0aaedd70acfe80233ab29178f22a97d2..a814d57d934d62935b2c791a9bf461208f09dc5a 100644 (file)
@@ -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 {