diff options
author | Peter Bergner <bergner@vnet.ibm.com> | 2017-06-19 13:04:13 -0500 |
---|---|---|
committer | Peter Bergner <bergner@vnet.ibm.com> | 2017-06-19 13:04:13 -0500 |
commit | 66953522c9061874047d2e9832c206af783c971c (patch) | |
tree | 2d700cdfa372e06857c8864299d2e95f1e4a1704 | |
parent | d16fdddb4e96e9e7bcfce6fe487b321c54b2c7c7 (diff) | |
download | gdb-66953522c9061874047d2e9832c206af783c971c.zip gdb-66953522c9061874047d2e9832c206af783c971c.tar.gz gdb-66953522c9061874047d2e9832c206af783c971c.tar.bz2 |
Update GDB test case for new lnia extended mnemonic.
When I added the new lnia extended mnemonic for addpcis, I updated the
assembler/disassembler test cases, but overlooked the GDB test cases.
This patch fixes that oversight and associated test case failure.
* gdb.arch/powerpc-power9.exp: Update test case for new lnia
extended mnemonic.
* gdb.arch/powerpc-power9.s: Likewise.
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.arch/powerpc-power9.exp | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.arch/powerpc-power9.s | 2 |
3 files changed, 9 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ff54199..5b71fec 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2017-06-19 Peter Bergner <bergner@vnet.ibm.com> + + * gdb.arch/powerpc-power9.exp: Update test case for new lnia + extended mnemonic. + * gdb.arch/powerpc-power9.s: Likewise. + 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com> * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx diff --git a/gdb/testsuite/gdb.arch/powerpc-power9.exp b/gdb/testsuite/gdb.arch/powerpc-power9.exp index cb9be17..4df78e1 100644 --- a/gdb/testsuite/gdb.arch/powerpc-power9.exp +++ b/gdb/testsuite/gdb.arch/powerpc-power9.exp @@ -364,8 +364,8 @@ func_check "xscvhpdp vs40,vs50" func_check "xscvdphp vs41,vs51" func_check "xvcvhpsp vs42,vs52" func_check "xvcvsphp vs43,vs53" -func_check "addpcis r3,0" -func_check "addpcis r3,0" +func_check "lnia r3" +func_check "lnia r3" func_check "addpcis r4,1" func_check "addpcis r4,1" func_check "addpcis r5,-2" diff --git a/gdb/testsuite/gdb.arch/powerpc-power9.s b/gdb/testsuite/gdb.arch/powerpc-power9.s index 65d8783..5d1a280 100644 --- a/gdb/testsuite/gdb.arch/powerpc-power9.s +++ b/gdb/testsuite/gdb.arch/powerpc-power9.s @@ -321,7 +321,7 @@ func: .long 0xf1319d6f /* xscvdphp vs41,vs51 */ .long 0xf158a76f /* xvcvhpsp vs42,vs52 */ .long 0xf179af6f /* xvcvsphp vs43,vs53 */ - .long 0x4c600004 /* addpcis r3,0 */ + .long 0x4c600004 /* lnia r3 */ .long 0x4c600004 /* addpcis r3,0 */ .long 0x4c800005 /* addpcis r4,1 */ .long 0x4c800005 /* addpcis r4,1 */ |