[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 14:52:38 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Nick Roberts <nickrob@snap.net.nz> writes:
> Michael Albinus writes:
> > Joe Bloggs <who@cares.invalid> writes:
> >
> > > 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>
> >
> > Which version of Tramp do you use? I would expect that you need Tramp
> > 2.1; Tramp 2.0 (as offered by Debian) is not sufficient AFAIK.
> >
> > I also remember some tuning in Emacs 23 wrt cooperation of gdb and
> > Tramp. Nick shall know it better than I do :-) but likely Emacs 23 is
> > the best choice for this task.
>
> I think it needs this change:
>
> 2007-07-11 Michael Albinus <michael.albinus@gmx.de>
>
> * progmodes/gud.el (gud-file-name): When `default-directory' is a
> remote file name, prepend its remote part to the filename.
> (gud-common-init): When `default-directory' is a remote file name,
> make the filename relative to it.
>
> which missed 22.1 but is part of Emacs 22.2.
>
> --
> Nick http://www.inet.net.nz/~nickrob
Does that mean I need to upgrade to Emacs > 22.2 to get it work properly?
If so can you give me any tips on tranferring packages, setting load-path, etc.
I have 22.2 installed but don't use it as I have had some problems:
An error has occurred while loading `/home/me/.emacs':
File error: Cannot open load file, tramp-gw
thanks.
- 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, 2008/07/14
- Message not available
- Re: gdb with tramp problem,
Joe Bloggs <=
- 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
- Message not available
- Re: gdb with tramp problem, Joe Bloggs, 2008/07/16
- Re: gdb with tramp problem, Joe Bloggs, 2008/07/17