Ben Litton <[EMAIL PROTECTED]> writes:

> This gave me an idea. I ran gdb and this time told it to launch gdb
> --annotate=3 /ssh:devmachine:/opt/product/sbin/product. 
>
> gdb runs and successfully connects to the proper machine. I still get
> a "No such file or directory error," but at this point, if I load the
> file by hand 'file /opt/product/sbin/product' I can run the file. If I
> attempt to step through the file by pressing s in the *gud-product*
> buffer though, it steps through in the same way it would from the
> command line.

Yep. Tramp's hook into gdb is still kind of hackish, and the directory
must be either a full remote file name, or a relative file name
(including "../" navigation). In the latter case, the default
directory of the buffer you are starting gdb from is prepended.

I hope to polish it once the underlying primitives of remote process
handling have been extended in Emacs. But this is something for
after-the-release of Emacs 22.1.

> Thanks again,

Best regards, Michael.



_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to