-
-
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
vAttach: invalid response causes command to not work #126
Comments
(It's also interesting to note that because |
I took a gander at the code, and it seems we're returning a
Can you change that line and see if it helps? |
A few notes:
FAKE_PID:
Actual PID (i.e. 2):
I've added a new function to The result of this is in #129 |
Well, there's a bit more nuance here: the correct response of
Indeed, I'm not surprised that GDB gets angry if you give it back a thread-id it's not expecting... Will continue the discussion over on #129 itself |
True, but it's unclear exactly what registers are required, and gdb gets upset if you omit those registers. It also gets grumpy if you don't enumerate all the threads properly, and replying with |
Closed via #129 |
The
vAttach
command appears to respond with an empty packet, which makes gdb think that it is not a supported command:It looks like the response should be a
T
packet. When usinggdbserver
on Linux:The text was updated successfully, but these errors were encountered: