gdb: testsuite: Add or1k l.nop instruction

The test case requires adding a nop instruction.  For or1k the
instruction is `l.nop`. This change uses the correct operation.

gdb/testsuite/ChangeLog:

2017-12-12  Stafford Horne  <shorne@gmail.com>

	* gdb.base/bp-permanent.c: Define nop of or1k.
This commit is contained in:
Stafford Horne 2017-12-09 05:57:25 +09:00
parent a994fec4f8
commit c3d186206b
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2017-12-12 Stafford Horne <shorne@gmail.com>
* gdb.base/bp-permanent.c: Define nop of or1k.
2017-12-11 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/variant_record_packed_array.exp: Adapt test to accept

View File

@ -26,6 +26,8 @@
#if defined(__s390__) || defined(__s390x__)
#define NOP asm("nopr 0")
#elif defined(__or1k__)
#define NOP asm("l.nop")
#else
#define NOP asm("nop")
#endif