I have tried to run the emacs-gdb package with a remote target. As the documentation on this is rather scarce I tried three different approaches:
I passed a TRAMP filename to gdb-executable. In this case, it seems that emacs-gdb invokes gdb locally, which cannot work
I set gdb-executable-name to "ssh:/user@host:/usr/local/bin/gdb" and then invoked gdb-executable with a local path. This results in an error message 'Wrong type argument: gdb--buffer-info, nil'
I set gdb-executable-name the same as above and additionally invoke gdb-executable with a remote path. This results in the same error message, as in the previous attempt.
Could you please describe how to set up the package to be able to debug remotely?
I'm not sure, if this matters, but I am using Emacs 28.0.90 with native compilation enabled on a Linux machine. The remote machine is Linux as well.
I have tried to run the emacs-gdb package with a remote target. As the documentation on this is rather scarce I tried three different approaches:
Could you please describe how to set up the package to be able to debug remotely? I'm not sure, if this matters, but I am using Emacs 28.0.90 with native compilation enabled on a Linux machine. The remote machine is Linux as well.