help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make gdb debug mode work with tramp?


From: Michael Albinus
Subject: Re: How to make gdb debug mode work with tramp?
Date: Tue, 05 Sep 2017 16:36:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Zhongwei Yao <ashi08104@gmail.com> 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 <https://debbugs.gnu.org/23608>. It
is reported as solved in Emacs 25.2.

Do you have a chance to check it there?

> Regards,
> Zhongwei

Best regards, Michael.



reply via email to

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