From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: How to make gdb debug mode work with tramp? Date: Tue, 05 Sep 2017 16:36:44 +0200 Message-ID: <8760cxi54z.fsf@detlef> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1504622280 23205 195.159.176.226 (5 Sep 2017 14:38:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 5 Sep 2017 14:38:00 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Zhongwei Yao Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 05 16:37:46 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dpEyf-0004R9-Ua for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Sep 2017 16:37:22 +0200 Original-Received: from localhost ([::1]:59372 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpEym-0006EV-WE for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Sep 2017 10:37:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpEyD-0006Cy-W4 for help-gnu-emacs@gnu.org; Tue, 05 Sep 2017 10:36:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dpEy9-0002gU-7T for help-gnu-emacs@gnu.org; Tue, 05 Sep 2017 10:36:54 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:63039) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dpEy8-0002d1-Tv for help-gnu-emacs@gnu.org; Tue, 05 Sep 2017 10:36:49 -0400 Original-Received: from detlef.gmx.de ([212.86.47.238]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MCLcP-1dggNZ3WNd-009C4C; Tue, 05 Sep 2017 16:36:44 +0200 In-Reply-To: (Zhongwei Yao's message of "Sun, 3 Sep 2017 22:10:45 +0800") X-Provags-ID: V03:K0:ltIZOkVLJwsVs4qb95sXccP0nDG4pGtjhGwm79ex0r88ThfBuaI EHkEBbW4tYwJO0HOZosUqisUF26tiZNHyZOvC9gK/ez656PHFV8eIQ0IzwdvsxOhQTWHM63 8P+lOYLkw5L32a0b0xYMGlgKmcWlIWbg1FzviPN4itRZ3glzBcMEVhhjm2OjzvjgO6UjFj9 uM7trshVZecfYw3baYNOg== X-UI-Out-Filterresults: notjunk:1;V01:K0:N/fvFeXJj2c=:riam3Z4hNTBEqfpUvP4HOX 7Oz4ZLd93XxFUVYYijWP++zJknGz1F10yZplSXkFffdzVqRddxxjGOqh+f8cmdDnVJ+5j1CFR fcPXYHgVdhT3MnHdQ1qHL7fnfPlfoVL6I89Sc0VSeN0V3nSZi8wyeA5nErHUKjVC9tMmF4bZd etcM4qAowbdwUahEr39LuIjJt2ppUFnpFmuZaQvuEH+jjom6wNM7DQhccDeo3RvXqv7Qk+Pvf RJ9KsnCTQ83TyUJdy+Ln6nDcDc5aVzvhHHOTrFKvKRc+12OLDCarj6eo8N7710gms0wnRdKRq RDHISZCHgRrY6NVRwjFKvdkwa4YXJwNpM8Ul+KBJe1IqstOlc9Evg7tQWqJ+gV/+66UHoa0VO aRuxMDzFKfWot2q9P93EzvBWCGl67oii6R7WSs+85iE4Z0XUASDfMaiOzg7NzvD8EX4wE7Ll4 ss7Zz6shGwvNXYx9bFzqLRTVF2kaM4gloF2IMUrnNiur9phNS7x+/g7BTY0onmrr5QwlNbvRN 3qZndQMFkfo0b8y+xs/kIiPobkoaq/FFBtFaO3L0uKC+N+BUZiegBEhNKgT5EDFDt5udtKxZZ Q9Yon+IVjHZOa3DFWj9V8ViCF9kpEXOiptlwCFgRuFKNPjHRLGp4TBwGk6nipEY8SMfcY6+pU G9cKWZ4XyZX9QoN8dg/fpjTLH2uDc6UvUsWoFKrlYqAXSfFDGYr+FUopmb1WvSRmOsuUWrDbH F4DQoQZS558CnEH+gNem/67GbJb1HVG/YFMQ27B+zoIR32DzhEzelwFT33eRvUWZH0RQzcMs X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.18 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114178 Archived-At: Zhongwei Yao writes: > Hi, all, Hi Zhongwei, > I try to use 'M-x gdb' on Mac with tramp. But it runs into varies errors. > > Here are some details: > > Environment: > emacs 25.1.1 runs on Mac with tramp 2.2.13.25.1. And I have a test project > on a raspberry pi directory: /home/xxx/project/test_gdb/. It has a simple > file: test.c. test.c is compiled by gcc with -O0 -g to test_bin. > > test.c: > 1 int foo(int a, int b) { > 2 int c = a + b; > 3 return c; > 4 } > 5 > 6 int main(void) { > 7 return foo(3, 4); > 8 } > > Steps: > 1. Open test.c on raspberry pi in emacs > 2. run 'M-x gdb' gdb -i=mi test_bin and open gdb-many-window mode. > 3. In *gud-test* buffer, run: break 7 > > Then I get an error in emacs Message: > File /scp:xxx@my-rasp-pi:/home/xxx/project/test_gdb/"/home/xxx/project/test_gdb/test.c" > no longer exists! This looks to me like the Emacs bug . It is reported as solved in Emacs 25.2. Do you have a chance to check it there? > Regards, > Zhongwei Best regards, Michael.