OSDN Git Service

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 46e880b..4144dc5 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 93ddd7e..eabf85e 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 c09c37b..a814d57 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 {