Skip to content

Commit c007218

Browse files
authored
Merge pull request #1067 from riscv/abstract_reg_access
Clarify why to use progbuf to access FPRs/CSRs
2 parents 0a50a07 + 0eaa493 commit c007218

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

debugger_implementation.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ Write `mstatus` using abstract command:
101101
[[deb:regprogbuf]]
102102
===== Using Program Buffer
103103

104-
Abstract commands are used to exchange data with GPRs. Using this
105-
mechanism, other registers can be accessed by moving their value
106-
into/out of GPRs.
104+
Abstract commands are only required to support GPR access. To access non-GPR
105+
registers, the debugger can use the Program Buffer to move values to/from a GPR,
106+
and then access the GPR value using an abstract command.
107107

108108
Write `mstatus` using program buffer:
109109

0 commit comments

Comments
 (0)