Using gdb and an 'extended-remote' target #1441
Unanswered
sir-wombat
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm trying to set up a very particular nvim-dap + gdb configuration, and I'm unsure, if what I'm trying to do is even possible:
I have a working dap configuration, using gdb 14.1 for local C programs (compiled and running on the same machine as nvim), which works completely as I would like it to.
The trouble is my black magic probe (a hardware debugger from here: https://black-magic.org/ ). When I run gdb manually, it works exactly as I expect it to, but I don't know how to set it up with nvim-dap. I'd expect this to be a use case for the attach-request, but that seems to only work with "remote" targets, not with "extended-remote" (as the black magic probe requires), at least if I understand the gdb documentation correctly: https://sourceware.org/gdb/current/onlinedocs/gdb#Debugger-Adapter-Protocol
So is this simply impossible (for now, until gdb improves), or am I maybe just holding it wrong?
Best Regards,
Wombat
Beta Was this translation helpful? Give feedback.
All reactions