[Top][All Lists]

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

Re: Suggestion: (how to) make Gnu Emacs work with gdb under CYGWIN

From: Keith Knowles
Subject: Re: Suggestion: (how to) make Gnu Emacs work with gdb under CYGWIN
Date: Tue, 27 Dec 2005 21:27:53 -0500

Incidentally, I neglected to say that I now have a work-around.
T'is most odious!

I preload the *.[ch] from my cwd and copy them into shadow
buffers with the <2> name and the mythical c:/cygdrive file
name and (not-modified).  I will put this on a gdb-hook.

I don't think I can live with this long-term but at least I am now
debugging on Windows in other than Visual Studio.

On 12/27/05, Keith Knowles <address@hidden> wrote:
On 19 March, 2003, I posted a note:

Emacs M-x gdb does not correlate CYGWIN symlinks to source files

to address@hidden.

The suggestion was, "use CYGWIN Emacs".  (I tried it but stayed with Gnu.)

I just tried this once more, but in a very simple environment (no symbolic links of any kind).

When a break triggers in "test.c", Emacs opens a buffer, "test.c<2>" on mythical file
"c:/cygwin/c/...test.c".  It appears that Emacs helpfully added the missing drive letter.

I suggest that if Emacs did not add the drive letter when the /cygdrive notation is present
(on a system with CYGWIN installed), then Gnu Emacs, CYGWIN and gdb would all play
together straight out of the box.

(Of course, I could just be doing something horribly wrong, since I cannot imagine that I
am the first to tread this path and, no, I can't really believe this doesn't work.)


reply via email to

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