Fix typo in vsx-regs.exp test
authorCarl Love <cel@us.ibm.com>
Tue, 15 Jun 2021 18:40:11 +0000 (13:40 -0500)
committerCarl Love <cel@us.ibm.com>
Tue, 15 Jun 2021 20:40:15 +0000 (15:40 -0500)
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.

gdb/testsuite/gdb.arch/vsx-regs.exp

index 0b0d2fa4d53f67c5e3a441275d62748ee88a2f4d..44ed993f12727056eff1418f9641236aa15a9dc2 100644 (file)
@@ -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.