From 0eaa4939ab4915c43ae4a14fb1f32bea22d44d5d Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Fri, 23 Aug 2024 12:27:49 -0700 Subject: [PATCH] Clarify why to use progbuf to access FPRs/CSRs --- debugger_implementation.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debugger_implementation.adoc b/debugger_implementation.adoc index dc35e730..b2194d6e 100644 --- a/debugger_implementation.adoc +++ b/debugger_implementation.adoc @@ -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: