diff options
author | Peter Bergner <bergner@vnet.ibm.com> | 2015-06-23 13:33:05 -0500 |
---|---|---|
committer | Peter Bergner <bergner@vnet.ibm.com> | 2015-06-23 13:33:05 -0500 |
commit | 8e6500c55ef0b9413ab16e384dbfcaa238bcd420 (patch) | |
tree | 7d8638c076bd0d8b3f3bc2383703310d1d1d57d6 /gdb/testsuite | |
parent | 4953dc20941a48eed02b575cec29d8de419f87eb (diff) | |
download | binutils-gdb-8e6500c55ef0b9413ab16e384dbfcaa238bcd420.tar.gz |
Fix rfebb gdb test cases.
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.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/gdb.arch/powerpc-power.exp | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.arch/powerpc-power.s | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.arch/powerpc-power.exp b/gdb/testsuite/gdb.arch/powerpc-power.exp index 15a59ddfa8c..96d623f1767 100644 --- a/gdb/testsuite/gdb.arch/powerpc-power.exp +++ b/gdb/testsuite/gdb.arch/powerpc-power.exp @@ -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" diff --git a/gdb/testsuite/gdb.arch/powerpc-power.s b/gdb/testsuite/gdb.arch/powerpc-power.s index 335e35b4e3d..ed17b2eb1a2 100644 --- a/gdb/testsuite/gdb.arch/powerpc-power.s +++ b/gdb/testsuite/gdb.arch/powerpc-power.s @@ -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 */ |