* mn10300-opc.c (mn10300_opcodes): Add "break" instruction.
authorJeff Law <law@redhat.com>
Mon, 16 Dec 1996 22:28:24 +0000 (22:28 +0000)
committerJeff Law <law@redhat.com>
Mon, 16 Dec 1996 22:28:24 +0000 (22:28 +0000)
For gdb.

opcodes/ChangeLog
opcodes/mn10300-opc.c

index d9dad0a990da8d0bd243c4dd7c5761616075c527..f1e568016f2975cbcf8f8fc8b8fb97290a948cf4 100644 (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>
index 806f97cc89ef0a2494ff30be491bb583992bc555..906f8a43326725be52f567f6c9764325388dd030 100644 (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}},
 
 } ;
This page took 0.059001 seconds and 4 git commands to generate.