[Top][All Lists]

[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 <address@hidden> writes:

> Michael Albinus writes:
>  > Joe Bloggs <address@hidden> 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  <address@hidden>
>       * 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                                 

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]