Fix rfebb gdb test cases.
authorPeter Bergner <bergner@vnet.ibm.com>
Tue, 23 Jun 2015 18:33:05 +0000 (13:33 -0500)
committerPeter Bergner <bergner@vnet.ibm.com>
Tue, 23 Jun 2015 18:33:05 +0000 (13:33 -0500)
The following patch fixed the assembly / disassembly of the rfebb instruction:

    https://sourceware.org/ml/binutils/2015-06/msg00190.html

This patch updates the gdb testsuite to match the new disassembly behavior.

gdb/testsuite/
* gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
* gdb.arch/powerpc-power.s <rfebb>: Likewise.

gdb/testsuite/gdb.arch/powerpc-power.exp
gdb/testsuite/gdb.arch/powerpc-power.s

index 15a59ddfa8c0d90cb39baae4d826caed4aadf8c9..96d623f17672ba2df86690f5d6cb9fbd2abade34 100644 (file)
@@ -194,8 +194,8 @@ func_check +500  "treclaim. r24"
 func_check +504  "trechkpt."
 func_check +508  "tsuspend."
 func_check +512  "tresume."
-func_check +516  "rfebb"
-func_check +520  "rfebb   1"
+func_check +516  "rfebb   0"
+func_check +520  "rfebb"
 func_check +524  "bctar-  12,4\\*cr5\\+gt"
 func_check +528  "bctarl- 4,4\\*cr1\\+so"
 func_check +532  "bctar\\+  12,4\\*cr3\\+lt"
index 335e35b4e3d7dc10fec7a1bf7982ef47cf4f03ca..ed17b2eb1a2194c95e1f60e0fa6dd403f524f345 100644 (file)
@@ -147,7 +147,7 @@ func:
        .long   0x7c0007dd      /* <+504>: trechkpt.                 */
        .long   0x7c0005dd      /* <+508>: tsuspend.                 */
        .long   0x7c2005dd      /* <+512>: tresume.                  */
-       .long   0x4c000124      /* <+516>: rfebb                     */
+       .long   0x4c000124      /* <+516>: rfebb   0                 */
        .long   0x4c000924      /* <+520>: rfebb   1                 */
        .long   0x4d950460      /* <+524>: bctar-  12,4*cr5+gt       */
        .long   0x4c870461      /* <+528>: bctarl- 4,4*cr1+so        */