Skip to content
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

Can't get emacs-gdb to work with remote target #14

Open
martin5233 opened this issue Jan 7, 2022 · 0 comments
Open

Can't get emacs-gdb to work with remote target #14

martin5233 opened this issue Jan 7, 2022 · 0 comments

Comments

@martin5233
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant