aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorCarl Love <cel@us.ibm.com>2021-06-16 14:51:46 -0500
committerCarl Love <cel@us.ibm.com>2021-06-18 10:14:20 -0500
commitff5404f5b37484567a19603769a2c0e56f108272 (patch)
treea3e9f9abf627a3e2997debbd566bf9c178b896f9 /gdb
parent2d95647bdd9a847eaa08d21b848933892ada6f1a (diff)
downloadgdb-ff5404f5b37484567a19603769a2c0e56f108272.zip
gdb-ff5404f5b37484567a19603769a2c0e56f108272.tar.gz
gdb-ff5404f5b37484567a19603769a2c0e56f108272.tar.bz2
Fix powerpc-power8.exp test with new mnemonics
This patch updates the gdb test to use the new bgetar and bnstarl mnemonics introduced in commit 5a4037661bccd156d65093f1f0cf2cd43f31e9d9. The test previously used the bctar and bctarl mnemonics. gdb/testsuite/ChangeLog 2021-06-17 Carl Love <cel@us.ibm.com> * gdb.arch/powerpc-power8.exp(bctar, bctarl): Update mnemonics to bgetar and bgetarl. * gdb.arch/powerpc-power8.s((bctar, bctarl): Update comments for mnemonics to bgetar and bnstarl.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog7
-rw-r--r--gdb/testsuite/gdb.arch/powerpc-power8.exp4
-rw-r--r--gdb/testsuite/gdb.arch/powerpc-power8.s4
3 files changed, 11 insertions, 4 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 16a86b6..e8c797a 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2021-06-17 Carl Love <cel@us.ibm.com>
+
+ * gdb.arch/powerpc-power8.exp(bctar, bctarl): Update mnemonics
+ to bgetar and bgetarl.
+ * gdb.arch/powerpc-power8.s((bctar, bctarl): Update comments
+ for mnemonics to bgetar and bnstarl.
+
2021-06-17 Simon Marchi <simon.marchi@efficios.com>
* gdb.base/args.exp: Check target, KFAIL if remote.
diff --git a/gdb/testsuite/gdb.arch/powerpc-power8.exp b/gdb/testsuite/gdb.arch/powerpc-power8.exp
index 456531f..858939f 100644
--- a/gdb/testsuite/gdb.arch/powerpc-power8.exp
+++ b/gdb/testsuite/gdb.arch/powerpc-power8.exp
@@ -82,8 +82,8 @@ func_check "bgttar cr5"
func_check "bnstarl cr1"
func_check "blttar+ cr3"
func_check "bnetarl+"
-func_check "bctar 4,4*cr2+lt,1"
-func_check "bctarl 4,4*cr1+so,2"
+func_check "bgetar cr2,1"
+func_check "bnstarl cr1,2"
func_check "waitasec"
func_check "msgsndp r8"
func_check "mtsle 1"
diff --git a/gdb/testsuite/gdb.arch/powerpc-power8.s b/gdb/testsuite/gdb.arch/powerpc-power8.s
index b69dd6e..65b92bd 100644
--- a/gdb/testsuite/gdb.arch/powerpc-power8.s
+++ b/gdb/testsuite/gdb.arch/powerpc-power8.s
@@ -39,8 +39,8 @@ func:
.long 0x4c870461 /* bnstarl cr1 */
.long 0x4dec0460 /* blttar+ cr3 */
.long 0x4ce20461 /* bnetarl+ */
- .long 0x4c880c60 /* bctar 4,4*cr2+lt,1 */
- .long 0x4c871461 /* bctarl 4,4*cr1+so,2 */
+ .long 0x4c880c60 /* bgetar cr2,1 */
+ .long 0x4c871461 /* bnstarl cr1,2 */
.long 0x7c00003c /* waitasec */
.long 0x7c00411c /* msgsndp r8 */
.long 0x7c200126 /* mtsle 1 */