• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqtwindows誰得cocoapythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdomvb.netdirectxbtronarduinopreviewerゲームエンジン

Commit MetaInfo

Revision1ff160cf1ae676356377154c1ba8286204051d26 (tree)
Time2022-01-30 23:33:48
AuthorYoshinori 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>

Change Summary

Incremental Difference

--- 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;