Skip to content

Commit

Permalink
Merge pull request #1067 from riscv/abstract_reg_access
Browse files Browse the repository at this point in the history
Clarify why to use progbuf to access FPRs/CSRs
  • Loading branch information
rtwfroody authored Aug 27, 2024
2 parents 0a50a07 + 0eaa493 commit c007218
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions debugger_implementation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ Write `mstatus` using abstract command:
[[deb:regprogbuf]]
===== Using Program Buffer

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

Write `mstatus` using program buffer:

Expand Down

0 comments on commit c007218

Please sign in to comment.