From: Nick Roberts <nickrob@snap.net.nz>
To: Joe Bloggs <who@cares.invalid>
Cc: help-gnu-emacs@gnu.org
Subject: Re: gdb with tramp problem
Date: Mon, 14 Jul 2008 10:19:44 +1200 [thread overview]
Message-ID: <18554.32640.748553.845320@kahikatea.snap.net.nz> (raw)
In-Reply-To: <87mykmii58.fsf@DEBLAP1.BeNet>
> When I load a remote c file with tramp, and run gdb through emacs on the
> corresponding executable, tramp runs gdb on the remote machine as required.
> However when I set a breakpoint and try stepping through the code, it fails
> to indicate the current position in the buffer containing the remote source
> (as it would if I ran gdb locally with a local source file). Instead it opens
> a new empty buffer, and gives it the same name as the remote source file,
> and with a local path (e.g. instead of /me@remote:/home/me/file.c
> it's listed as /home/me/file.c).
> Can anyone tell me how to fix this?
It works for me. What version of Emacs are you using? What version of GDB?
What platform? It's best if you report a bug using M-x report-emacs-bug.
After GDB stops at the breakpoint What does "info source" give?
--
Nick http://www.inet.net.nz/~nickrob
next prev parent reply other threads:[~2008-07-13 22:19 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-13 3:21 gdb with tramp problem Joe Bloggs
2008-07-13 22:19 ` Nick Roberts [this message]
[not found] ` <mailman.14673.1215987612.18990.help-gnu-emacs@gnu.org>
2008-07-14 2:23 ` Joe Bloggs
2008-07-14 8:01 ` Michael Albinus
2008-07-14 8:29 ` Nick Roberts
2008-07-14 8:37 ` Michael Albinus
[not found] ` <mailman.14691.1216028216.18990.help-gnu-emacs@gnu.org>
2008-07-14 13:52 ` Joe Bloggs
2008-07-14 17:59 ` Michael Albinus
[not found] ` <mailman.14717.1216058303.18990.help-gnu-emacs@gnu.org>
2008-07-14 20:18 ` Joe Bloggs
2008-07-14 21:57 ` Michael Albinus
[not found] ` <mailman.14722.1216072637.18990.help-gnu-emacs@gnu.org>
2008-07-16 16:52 ` Joe Bloggs
2008-07-16 23:47 ` Nick Roberts
[not found] ` <mailman.14872.1216252032.18990.help-gnu-emacs@gnu.org>
2008-07-17 19:29 ` Joe Bloggs
2008-07-16 23:03 ` Joe Bloggs
2008-07-17 19:31 ` Joe Bloggs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=18554.32640.748553.845320@kahikatea.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=help-gnu-emacs@gnu.org \
--cc=who@cares.invalid \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.