[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gdb with tramp problem
From: |
Joe Bloggs |
Subject: |
Re: gdb with tramp problem |
Date: |
Mon, 14 Jul 2008 03:23:42 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Nick Roberts <nickrob@snap.net.nz> writes:
> > 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
Emacs 21.4.1 on Debian Etch with gdb 6.4.90-debian, and using cc-mode version
5.31.3
'info source' from within gdb gives the correct path to the source file.
Strange thing is I can set the breakpoint from within the source buffer with
C-x <SPC>
- gdb with tramp problem, Joe Bloggs, 2008/07/13
- Re: gdb with tramp problem, Nick Roberts, 2008/07/13
- Message not available
- Re: gdb with tramp problem,
Joe Bloggs <=
- Message not available
- Re: gdb with tramp problem, Joe Bloggs, 2008/07/14
- Re: gdb with tramp problem, Michael Albinus, 2008/07/14
- Message not available
- Re: gdb with tramp problem, Joe Bloggs, 2008/07/14
- Re: gdb with tramp problem, Michael Albinus, 2008/07/14
- Message not available
- Re: gdb with tramp problem, Joe Bloggs, 2008/07/16
- Re: gdb with tramp problem, Nick Roberts, 2008/07/16
- Message not available
- Re: gdb with tramp problem, Joe Bloggs, 2008/07/17