cnlohr / rawdrawandroid

Build android apps without any java, entirely in C and Make
MIT License
3.55k stars 226 forks source link

GDB support #87

Closed rahlhar closed 2 months ago

rahlhar commented 2 months ago

A script to automate setup for and running of gdbserver on the target device, along with gdb on the host.

Should this be integrated with the Makefile so we can reuse some env vars defined there?

Anything else?

rahlhar commented 2 months ago

Moved my local repo to another user and I'm hitting a problem getting gdb to attach to the remote socket. If I discover problem(s) in the script, will fix.

rahlhar commented 2 months ago

After some more digging I'm discovering other problems. I need to do some more work on this. If lucky we might only be able to work with NDK up to version 23. I need to look at what they're doing for their gdb builds. The rabbit hole just got deeper.

cnlohr commented 2 months ago

Thank you for digging into this, can I close the PR for now? Is there some way I can support you? Are you interested in chatting with other rawdrawandroid users on my Discord?

rahlhar commented 2 months ago

Yes, we can close for now. And yes, chatting with other users might be useful for sure; I personally know of no one at the moment who cares to try to work with android at this level. As for support, when I have at least learned enough to ask (hopefully) good questions I will surely reach out - much appreciated.

cnlohr commented 2 months ago

@rahlhar please reach out to me at @cnlohr on Discord.

cnlohr commented 2 weeks ago

@rahlhar there's other users who are very interested in this. I am interested in discussing this!