From: Jeff Law Date: Mon, 16 Dec 1996 22:28:24 +0000 (+0000) Subject: * mn10300-opc.c (mn10300_opcodes): Add "break" instruction. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=374cb3020b27b6265384640d01cb1cc89fda8e16;p=binutils-gdb.git * mn10300-opc.c (mn10300_opcodes): Add "break" instruction. For gdb. --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index d9dad0a990d..f1e568016f2 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -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 diff --git a/opcodes/mn10300-opc.c b/opcodes/mn10300-opc.c index 806f97cc89e..906f8a43326 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}}, } ;