aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-12-16 22:28:24 +0000
committerJeff Law <law@redhat.com>1996-12-16 22:28:24 +0000
commit374cb3020b27b6265384640d01cb1cc89fda8e16 (patch)
tree6fc64f35dc79c641ec600da6a4426508b1497f8c /opcodes
parentaf685203811c8fdd656857abb1824b0d3c651e28 (diff)
downloadgdb-374cb3020b27b6265384640d01cb1cc89fda8e16.zip
gdb-374cb3020b27b6265384640d01cb1cc89fda8e16.tar.gz
gdb-374cb3020b27b6265384640d01cb1cc89fda8e16.tar.bz2
* mn10300-opc.c (mn10300_opcodes): Add "break" instruction.
For gdb.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog2
-rw-r--r--opcodes/mn10300-opc.c8
2 files changed, 10 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index d9dad0a..f1e5680 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 <ian@cygnus.com>
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}},
} ;