[binutils-gdb] Fix typo in vsx-regs.exp test

Carl Love carll@sourceware.org
Tue Jun 15 20:40:47 GMT 2021


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6645c8ce71cc9709dcaee1ea42686d20075ad88b

commit 6645c8ce71cc9709dcaee1ea42686d20075ad88b
Author: Carl Love <cel@us.ibm.com>
Date:   Tue Jun 15 13:40:11 2021 -0500

    Fix typo in vsx-regs.exp test
    
    gdb/ChangeLog
    2021-06-15  Carl Love  <cel@us.ibm.com>
    
            * testsuite/gdb.arch/vsx-regs.exp (gdb_test_no_output): Fix typo
            in set \$vs$i.v2_double.

Diff:
---
 gdb/testsuite/gdb.arch/vsx-regs.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/testsuite/gdb.arch/vsx-regs.exp b/gdb/testsuite/gdb.arch/vsx-regs.exp
index 0b0d2fa4d53..44ed993f127 100644
--- a/gdb/testsuite/gdb.arch/vsx-regs.exp
+++ b/gdb/testsuite/gdb.arch/vsx-regs.exp
@@ -99,7 +99,7 @@ set float_register ".raw 0xdeadbeefdeadbeef."
 
 # 0: Initialize the (doubleword 1) portion of the VS0-VS31 registers.
 for {set i 0} {$i < 32} {incr i 1} {
-    gdb_test_no_output "set \$vs$i.v2_double\][0\] = 0"
+    gdb_test_no_output "set \$vs$i.v2_double\[0\] = 0"
 }
 
 # 1: Set F0~F31 registers and check if it reflects on VS0~VS31.


More information about the Gdb-cvs mailing list