• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修订版e20faa6d290f7f5d39a652a91d68eba75cb5616a (tree)
时间2021-09-09 18:27:15
作者Yoshinori Sato <ysato@user...>
CommiterYoshinori Sato

Log Message

target/rx: gdbstub add acc register operation.

I added it because the operation of the acc register was not implemented.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>

更改概述

差异

--- a/target/rx/gdbstub.c
+++ b/target/rx/gdbstub.c
@@ -47,7 +47,7 @@ int rx_cpu_gdb_read_register(CPUState *cs, GByteArray *mem_buf, int n)
4747 case 24:
4848 return gdb_get_regl(mem_buf, env->fpsw);
4949 case 25:
50- return 0;
50+ return gdb_get_reg64(mem_buf, env->acc);
5151 }
5252 return 0;
5353 }
@@ -103,6 +103,7 @@ int rx_cpu_gdb_write_register(CPUState *cs, uint8_t *mem_buf, int n)
103103 env->fpsw = ldl_p(mem_buf);
104104 break;
105105 case 25:
106+ env->acc = ldq_p(mem_buf);
106107 return 8;
107108 default:
108109 return 0;