* mn10300-opc.c (mn10300_opcodes): Add "break" instruction.

For gdb.
This commit is contained in:
Jeff Law 1996-12-16 22:28:24 +00:00
parent af68520381
commit 374cb3020b
2 changed files with 10 additions and 0 deletions

View File

@ -1,5 +1,7 @@
Mon Dec 16 13:00:15 1996 Jeffrey A Law (law@cygnus.com)
* mn10300-opc.c (mn10300_opcodes): Add "break" instruction.
* mn10200-opc.c: Add pseudo-ops for "mov (an),am" and "mov an,(am)".
Sat Dec 14 22:36:20 1996 Ian Lance Taylor <ian@cygnus.com>

View File

@ -492,6 +492,14 @@ const struct mn10300_opcode mn10300_opcodes[] = {
{ "sat16", 0xf640, 0xfff0, FMT_D0, {DM1, DN0}},
{ "sat24", 0xf650, 0xfff0, FMT_D0, {DM1, DN0}},
{ "bsch", 0xf670, 0xfff0, FMT_D0, {DM1, DN0}},
/* Extension. When talking to the simulator, gdb requires some instruction
that will trigger a "breakpoint" (really just an instruction that isn't
otherwise used by the tools. This instruction must be the same size
as the smallest instruction on the target machine. In the case of the
mn10x00 the "break" instruction must be one byte. 0xff is available on
both mn10x00 architectures. */
{ "break", 0xff, 0xff, FMT_S0, {UNUSED}},
{ 0, 0, 0, 0, {0}},
} ;