From: Joe Bloggs <who@cares.invalid>
To: help-gnu-emacs@gnu.org
Subject: Re: gdb with tramp problem
Date: Mon, 14 Jul 2008 14:52:38 +0100 [thread overview]
Message-ID: <87mykkshcp.fsf@DEBLAP1.BeNet> (raw)
In-Reply-To: mailman.14691.1216028216.18990.help-gnu-emacs@gnu.org
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.
next prev parent reply other threads:[~2008-07-14 13:52 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
[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 [this message]
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=87mykkshcp.fsf@DEBLAP1.BeNet \
--to=who@cares.invalid \
--cc=help-gnu-emacs@gnu.org \
/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.