Skip to content

Reading/Writing registers from RV32E ISA targets uses incorrect register count #2029

@perigoso

Description

@perigoso

RV32E base ISA devices have 16 GPRs while RV32I base ISA devices have 32, this is correctly reported to gdb in the target description xml, but when reading or writing all registers BMD still considers 32 registers to be present.

The main symptom is GDB reporting incorrect length for 'g' packets:
Remote 'g' packet reply is too long (expected 104 bytes, got 132 bytes): ....

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugConfirmed bug

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions