-
Notifications
You must be signed in to change notification settings - Fork 34
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
WIP: Adding a GDB Server #131
base: master
Are you sure you want to change the base?
Conversation
Not sure how to sync this WIP PR with the latest on the branch. Anyway, the branch now starts a server on a port and gets its first "qSupported:multiprocess+;swbreak+;hwbreak+;qRelocInsn+;fork-events+;vfork-events+;exec-events+;vContSupported+;QThreadEvents+;no-resumed+;memory-tagging+;xmlRegisters=i386" string from the remote debugger. Now, this could highlight that I need to find a GDB instance that supports the 6502 :D That could be a whole other kettle of sardines. I should note that I used MinGW to get a gdb instance that I could type. `target remote localhost:17091" To get that string to appear on the "server". I am still really not sure any of that will work. You can find the latest branch here: https://github.com/nacnud-sco/beebem-windows/tree/duncan/gdb_server |
0b7233d
to
ee03ed7
Compare
Closing due to re-sync / master confusion. I'll open another one, if I can work out how to keep it "up to date". |
Right. This is all rebased and up-to-date now. That up-to-date thing was a DFU issue. |
Thank you! |
…where to start the main gdb server thread.
… qSupported string! :)
…d local memory buffers to test the protocol. Seems to be talking to a GDB client. That's nice. But the client just thinks that we're 64bit Intel! haha Really need to fix up the unhandled qsupported stuff.
…So we can use x86 clients. Just that A = eax, X = ecx, Y = edx, SP = esp, PC = eip and SR = eflags. It could just work :D
62eee19
to
3d91757
Compare
This is very much WORK IN PROGRESS.
Hopes.
This should not be considered any kind of patch. It is a WIP version of code that may get to a place where it can be a viable patch.
TODO:
Hopefully this generates some conversation.