Fix ppc64 single step over atomic sequence testcase.
authorAnton Blanchard <anton@samba.org>
Fri, 28 Mar 2014 01:37:37 +0000 (12:37 +1100)
committerAnton Blanchard <anton@samba.org>
Tue, 1 Apr 2014 01:12:48 +0000 (12:12 +1100)
commit62f7182c14492421b8d59ba5c6640d6c27ad6ea2
tree9568d009f78fc0fdc26984692a161002085e4e1b
parent11a865c84fcf530d8d96d01566f4bde378f629a1
Fix ppc64 single step over atomic sequence testcase.

The current ppc64 single step over atomic sequence testcase is written
in C and breaks with some versions of gcc. Convert the test to
assembly and use stepi to step through it.

gdb/testsuite/
2014-04-01  Anton Blanchard  <anton@samba.org>

* gdb.arch/ppc64-atomic-inst.c: Remove.
* gdb.arch/ppc64-atomic-inst.S: New file.
* gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/ppc64-atomic-inst.S [new file with mode: 0644]
gdb/testsuite/gdb.arch/ppc64-atomic-inst.c [deleted file]
gdb/testsuite/gdb.arch/ppc64-atomic-inst.exp