Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
perigoso opened this issue Dec 19, 2024 · 1 comment

Comments

@perigoso
Copy link
Contributor

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): ....

@perigoso
Copy link
Contributor Author

A fix commit (d1b2b5a) is present in #1399

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant