]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Update GDB test case for new lnia extended mnemonic.
authorPeter Bergner <bergner@vnet.ibm.com>
Mon, 19 Jun 2017 18:04:13 +0000 (13:04 -0500)
committerPeter Bergner <bergner@vnet.ibm.com>
Mon, 19 Jun 2017 18:04:13 +0000 (13:04 -0500)
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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/powerpc-power9.exp
gdb/testsuite/gdb.arch/powerpc-power9.s

index ff54199504c6386187925f93112ad2504390bd3f..5b71fec42a8f1b5da9d2b9af4711f436c895abeb 100644 (file)
@@ -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
index cb9be1767da61ee2d7967fd075a2a5762eb7b2fc..4df78e1ac86a2051c042a278b88c7293b6284cea 100644 (file)
@@ -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"
index 65d878315eff5c03f3110189435f625bca532828..5d1a280f6de96ee55f37c35ffc00ca1ccdc49e71 100644 (file)
@@ -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               */