On 3/20/26 2:10 AM, Philippe Mathieu-Daudé wrote:
All these SPARC64 registers are 32-bit since their introduction
in commit 3475187dd81 ("sparc64 merge"), see target/sparc/cpu.h:

   511 #if defined(TARGET_SPARC64)
   ...
   515     uint32_t asi;
   516     uint32_t pstate;
   ...
   519     uint32_t cansave, canrestore, otherwin, wstate, cleanwin;

Set MonitorDef::type to MD_I32 to dump them as 32-bit.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
---
  target/sparc/monitor.c | 14 +++++++-------
  1 file changed, 7 insertions(+), 7 deletions(-)


Reviewed-by: Pierrick Bouvier <[email protected]>

Reply via email to