From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: gdb with tramp problem Date: Mon, 14 Jul 2008 10:01:01 +0200 Message-ID: References: <87mykmii58.fsf@DEBLAP1.BeNet> <8763r919w1.fsf@DEBLAP1.BeNet> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1216022399 6001 80.91.229.12 (14 Jul 2008 07:59:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Jul 2008 07:59:59 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Joe Bloggs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 14 10:00:47 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KIIzG-0005BM-M9 for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Jul 2008 10:00:46 +0200 Original-Received: from localhost ([127.0.0.1]:33226 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIIyO-0003X4-BN for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Jul 2008 03:59:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KIIy6-0003Wz-Bc for help-gnu-emacs@gnu.org; Mon, 14 Jul 2008 03:59:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KIIy4-0003Wf-VP for help-gnu-emacs@gnu.org; Mon, 14 Jul 2008 03:59:34 -0400 Original-Received: from [199.232.76.173] (port=37761 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIIy4-0003WN-MN for help-gnu-emacs@gnu.org; Mon, 14 Jul 2008 03:59:32 -0400 Original-Received: from mailrelay1.alcatel.de ([194.113.59.95]:51216) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KIIy4-0002D5-9Q for help-gnu-emacs@gnu.org; Mon, 14 Jul 2008 03:59:32 -0400 Original-Received: from slbhab.alcatel.de (slbhab.bln.sel.alcatel.de [149.204.63.218]) by mailrelay1.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id m6E7xQ4M022368; Mon, 14 Jul 2008 09:59:26 +0200 In-Reply-To: <8763r919w1.fsf@DEBLAP1.BeNet> (Joe Bloggs's message of "Mon\, 14 Jul 2008 03\:23\:42 +0100") User-Agent: Gnus/5.101 (Gnus v5.10.10) Emacs/21.3 (hpux) X-Scanned-By: MIMEDefang 2.57 on 149.204.45.72 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:55532 Archived-At: Joe Bloggs 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 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. Best regards, Michael.