diff options
author | Jeff Law <law@redhat.com> | 1996-12-16 22:28:24 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1996-12-16 22:28:24 +0000 |
commit | 374cb3020b27b6265384640d01cb1cc89fda8e16 (patch) | |
tree | 6fc64f35dc79c641ec600da6a4426508b1497f8c /opcodes/mn10300-opc.c | |
parent | af685203811c8fdd656857abb1824b0d3c651e28 (diff) | |
download | gdb-374cb3020b27b6265384640d01cb1cc89fda8e16.zip gdb-374cb3020b27b6265384640d01cb1cc89fda8e16.tar.gz gdb-374cb3020b27b6265384640d01cb1cc89fda8e16.tar.bz2 |
* mn10300-opc.c (mn10300_opcodes): Add "break" instruction.
For gdb.
Diffstat (limited to 'opcodes/mn10300-opc.c')
-rw-r--r-- | opcodes/mn10300-opc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/opcodes/mn10300-opc.c b/opcodes/mn10300-opc.c index 806f97c..906f8a4 100644 --- a/opcodes/mn10300-opc.c +++ b/opcodes/mn10300-opc.c @@ -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}}, } ; |