diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2006-04-08 17:37:56 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2006-04-08 17:37:56 +0000 |
commit | 5cf3f6e29299cef28b42c75c0dfd9303eed71603 (patch) | |
tree | 4574661a0b00d59e7f07689958a28ee9f867ee25 /sim/cris | |
parent | c466736ab1543a92c6ac6b87405dec13a6133582 (diff) | |
download | gdb-5cf3f6e29299cef28b42c75c0dfd9303eed71603.zip gdb-5cf3f6e29299cef28b42c75c0dfd9303eed71603.tar.gz gdb-5cf3f6e29299cef28b42c75c0dfd9303eed71603.tar.bz2 |
* cris/crisv32f.c (MY (deliver_interrupt)): Set CCS to new_ccs.
Diffstat (limited to 'sim/cris')
-rw-r--r-- | sim/cris/crisv32f.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/cris/crisv32f.c b/sim/cris/crisv32f.c index cd14d3e..ad8297e 100644 --- a/sim/cris/crisv32f.c +++ b/sim/cris/crisv32f.c @@ -590,6 +590,8 @@ MY (deliver_interrupt) (SIM_CPU *current_cpu, recognize that we're in kernel mode. */ CPU (h_ubit_v32) = 0; + SET_H_SR (H_SR_CCS, new_ccs); + if (was_user) { /* These methods require that user mode is unset. */ |