diff options
author | Jeff Law <law@redhat.com> | 1996-12-16 22:31:37 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1996-12-16 22:31:37 +0000 |
commit | 093e9a32d3f35c917c457d16e2286cf6e857ef83 (patch) | |
tree | 8d79ba4ef133f66191b9c8ab099d21779c2aeca3 /sim/mn10300/simops.c | |
parent | 374cb3020b27b6265384640d01cb1cc89fda8e16 (diff) | |
download | gdb-093e9a32d3f35c917c457d16e2286cf6e857ef83.zip gdb-093e9a32d3f35c917c457d16e2286cf6e857ef83.tar.gz gdb-093e9a32d3f35c917c457d16e2286cf6e857ef83.tar.bz2 |
* simops.c: Handle "break" instruction.
Diffstat (limited to 'sim/mn10300/simops.c')
-rw-r--r-- | sim/mn10300/simops.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sim/mn10300/simops.c b/sim/mn10300/simops.c index ff0a915..b406c41 100644 --- a/sim/mn10300/simops.c +++ b/sim/mn10300/simops.c @@ -3071,3 +3071,13 @@ void OP_F670 (insn, extension) { abort (); } + +/* breakpoint */ +void +OP_FF (insn, extension) + unsigned long insn, extension; +{ + State.exception = SIGTRAP; + PC -= 1; +} + |