This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Update tests to account for the L operand being compulsory.
- From: Peter Bergner <bergner at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 29 Sep 2016 20:23:09 -0000
- Subject: [binutils-gdb] Update tests to account for the L operand being compulsory.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a4297203ea1a1e4664b6f2b05efecd60f6437f46
commit a4297203ea1a1e4664b6f2b05efecd60f6437f46
Author: Peter Bergner <bergner@vnet.ibm.com>
Date: Thu Sep 29 15:21:55 2016 -0500
Update tests to account for the L operand being compulsory.
* gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
the compulsory L operand changes.
* gdb.arch/powerpc-power.s: Likewise.
Diff:
---
gdb/testsuite/ChangeLog | 6 ++++++
gdb/testsuite/gdb.arch/powerpc-power.exp | 4 ++--
gdb/testsuite/gdb.arch/powerpc-power.s | 4 ++--
3 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index b6243cf..d7cdf74 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
+
+ * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
+ the compulsory L operand changes.
+ * gdb.arch/powerpc-power.s: Likewise.
+
2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
diff --git a/gdb/testsuite/gdb.arch/powerpc-power.exp b/gdb/testsuite/gdb.arch/powerpc-power.exp
index 3bdfc15..8594ad5 100644
--- a/gdb/testsuite/gdb.arch/powerpc-power.exp
+++ b/gdb/testsuite/gdb.arch/powerpc-power.exp
@@ -1117,8 +1117,8 @@ func_check +4168 "xvxsigdp vs59,vs60"
func_check +4172 "xvxsigsp vs60,vs61"
func_check +4176 "cmpeqb cr0,r6,r7"
func_check +4180 "cmpeqb cr7,r6,r7"
-func_check +4184 "cmprb cr0,r8,r9"
-func_check +4188 "cmprb cr7,r8,r9"
+func_check +4184 "cmprb cr0,0,r8,r9"
+func_check +4188 "cmprb cr7,0,r8,r9"
func_check +4192 "cmprb cr0,1,r8,r9"
func_check +4196 "cmprb cr7,1,r8,r9"
func_check +4200 "setb r15,cr0"
diff --git a/gdb/testsuite/gdb.arch/powerpc-power.s b/gdb/testsuite/gdb.arch/powerpc-power.s
index 507b61e..6fe2520 100644
--- a/gdb/testsuite/gdb.arch/powerpc-power.s
+++ b/gdb/testsuite/gdb.arch/powerpc-power.s
@@ -1078,8 +1078,8 @@ func:
.long 0xf389ef6f /* <+4172>: xvxsigsp vs60,vs61 */
.long 0x7c0639c0 /* <+4176>: cmpeqb cr0,r6,r7 */
.long 0x7f8639c0 /* <+4180>: cmpeqb cr7,r6,r7 */
- .long 0x7c084980 /* <+4184>: cmprb cr0,r8,r9 */
- .long 0x7f884980 /* <+4188>: cmprb cr7,r8,r9 */
+ .long 0x7c084980 /* <+4184>: cmprb cr0,0,r8,r9 */
+ .long 0x7f884980 /* <+4188>: cmprb cr7,0,r8,r9 */
.long 0x7c284980 /* <+4192>: cmprb cr0,1,r8,r9 */
.long 0x7fa84980 /* <+4196>: cmprb cr7,1,r8,r9 */
.long 0x7de00100 /* <+4200>: setb r15,cr0 */