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 | |
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.
-rw-r--r-- | sim/ChangeLog | 4 | ||||
-rw-r--r-- | sim/cris/crisv32f.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sim/ChangeLog b/sim/ChangeLog index 144426a..c5b1af0 100644 --- a/sim/ChangeLog +++ b/sim/ChangeLog @@ -1,3 +1,7 @@ +2006-04-08 Hans-Peter Nilsson <hp@axis.com> + + * cris/crisv32f.c (MY (deliver_interrupt)): Set CCS to new_ccs. + 2006-04-03 Hans-Peter Nilsson <hp@axis.com> * cris/dv-cris.c, cris/dv-rv.c, cris/rvdummy.c: New files. 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. */ |