-
Notifications
You must be signed in to change notification settings - Fork 61
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
Gdbserver support #33
Open
hugelgupf
wants to merge
7
commits into
brho:master
Choose a base branch
from
hugelgupf:gdbserver-support
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a97cfe7
to
0bf9fe9
Compare
b10b5c2
to
9446130
Compare
IDs are moved from pthreads to uthreads and uthreads now maintain a list of current threads. Change-Id: I87310e765ad0ead25a45f41074e09f74835383df Signed-off-by: Christopher Koch <[email protected]>
The protocol is called D9. This will be part of parlib and in its current form can be used with any 2LS. The protocol is intended to be synchronous on the 2LS side and asynchronous on the gdbserver side. It looks a lot like 9P (hence, the name). Some of the issues around async are not solved yet; e.g. the client side (gdbserver) currently expects all operations to be serialized without interleaving responses. E.g. it could not currently handle this sequence of operations: TWAIT TREADMEM RWAIT RREADMEM Change-Id: Ib7c8fd800b1550f6b72ce0feae57c7f5dbdf11f6 Signed-off-by: Christopher Koch <[email protected]>
Change-Id: I8dc3524204b562c87be52c8faf6aba20b111a216 Signed-off-by: Christopher Koch <[email protected]>
Makes gdbserver's interactions with the 2LS asynchronous. Adds real breakpoint (we can detect when a breakpoint happens) support as well as resuming all threads and storing registers. Change-Id: Iadf0c6b1c2c26a86e9ed7296b6fe459b92d8f180 Signed-off-by: Christopher Koch <[email protected]>
Change-Id: I4263112b2e340ea02e56c273529de291a22ba9dc Signed-off-by: Christopher Koch <[email protected]>
Change-Id: Id99eacdb0a7dc49cad108e58497935cfad4bb0c7 Signed-off-by: Christopher Koch <[email protected]>
Change-Id: I06e066e0f2ce7b3d57da7c123888f706d077131a Signed-off-by: Christopher Koch <[email protected]>
9446130
to
bf2a6d1
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Actual code review happening on mailing list + gerrit, this is just for convenient linking.