diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2004-12-21 04:37:58 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2004-12-21 04:37:58 +0000 |
commit | c3d75c30237aafd9aa332b71333b99bb78e4bb3a (patch) | |
tree | 124db1e1f268c771b4634bdc0bf4fb1f0388d5b0 /cpu/cris.cpu | |
parent | 5acea80106608a6f7f94089e9740d69e9e0fb88a (diff) | |
download | gdb-c3d75c30237aafd9aa332b71333b99bb78e4bb3a.zip gdb-c3d75c30237aafd9aa332b71333b99bb78e4bb3a.tar.gz gdb-c3d75c30237aafd9aa332b71333b99bb78e4bb3a.tar.bz2 |
* cris.cpu (cris-set-mem): Correct integral write semantics.
Diffstat (limited to 'cpu/cris.cpu')
-rw-r--r-- | cpu/cris.cpu | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpu/cris.cpu b/cpu/cris.cpu index 6bfa539..955ad32 100644 --- a/cpu/cris.cpu +++ b/cpu/cris.cpu @@ -2224,7 +2224,10 @@ (sequence () (set (mem size addr) value) - (set cbit 0)) + ; Write failures are signalled (by whatever entity "sends + ; the signal") by setting P at time of the write above, if X + ; is set. Here, we just need to copy P into C. + (set cbit pbit)) (set cbit 1)) (set (mem size addr) value)) |