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

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

Re: gdb with tramp problem


From: Nick Roberts
Subject: Re: gdb with tramp problem
Date: Mon, 14 Jul 2008 10:19:44 +1200

 > When I load a remote c file with tramp, and run gdb through emacs on the 
 > corresponding executable, tramp runs gdb on the remote machine as required. 
 > However when I set a breakpoint and try stepping through the code, it fails
 > to indicate the current position in the buffer containing the remote source 
 > (as it would if I ran gdb locally with a local source file). Instead it 
 > opens 
 > a new empty buffer, and gives it the same name as the remote source file, 
 > and with a local path (e.g. instead of /address@hidden:/home/me/file.c
 > it's listed as /home/me/file.c).
 > Can anyone tell me how to fix this?

It works for me.  What version of Emacs are you using?  What version of GDB?
What platform?  It's best if you report a bug using M-x report-emacs-bug.
After GDB stops at the breakpoint What does "info source" give?

-- 
Nick                                           http://www.inet.net.nz/~nickrob




reply via email to

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