I'm on my Windows machine with a file open on a remote linux server through tramp. I'm using realgud:gdb
to debug my C++ file. In the (gdb) prompt, I can set breakpoint just fine using
(gdb) b /path/to/file.cpp:line_number
(note that the path doesn't include the /plinkx:host:
prefix.
When I try setting a breakpoint using the GUI (red circle), the command that gets sent contains the plink prefix, which causes gdb to not process the command since its already residing on a remote:
<click on GUI breakpoint button>
(gdb) break /plinkx:host:/path/to/file.cpp:line_number
No source file named /plinkx.
Make breakpoint pending on future shared library load (y or [n])
Does anyone have experience with this, or know if its possible to parse the command being sent, strip any plinkx:host if in the path string, then resend the updated path?