-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Add 'read/write register' commands #22
Merged
Merged
Commits on Sep 5, 2020
-
add 'read register' command of the RSP protocol
In some architecture, Gdb will actually query single registers, for ex. on RISC-V. This commit introduces support for this command. To support this, several significant modifications are introduced: - Add a `RegId` type in `Register` trait. - the trait Target gained a new 'read_register' function, which is made optional to avoid breaking existing implementations.
Configuration menu - View commit details
-
Copy full SHA for d0e0fe8 - Browse repository at this point
Copy the full SHA d0e0fe8View commit details -
complete implementation of the RegId trait for RISC-V
The RiscvRegId is now public in the arch::riscv::reg module.
Configuration menu - View commit details
-
Copy full SHA for a2862ab - Browse repository at this point
Copy the full SHA a2862abView commit details -
Configuration menu - View commit details
-
Copy full SHA for fbdd3d4 - Browse repository at this point
Copy the full SHA fbdd3d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for e33d4b6 - Browse repository at this point
Copy the full SHA e33d4b6View commit details
Commits on Sep 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 090a638 - Browse repository at this point
Copy the full SHA 090a638View commit details -
send "E01" in case register write is not supported
This is more in line with GDB specifications of the 'P' packet.
Configuration menu - View commit details
-
Copy full SHA for b9a0918 - Browse repository at this point
Copy the full SHA b9a0918View commit details
Commits on Sep 8, 2020
-
implement single register write in the armv4t example
note: the 'P' handler now also reports an error if write_register is not implemented.
Configuration menu - View commit details
-
Copy full SHA for b37f622 - Browse repository at this point
Copy the full SHA b37f622View commit details
Commits on Sep 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6161d21 - Browse repository at this point
Copy the full SHA 6161d21View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.