[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cygwin gdb
From: |
Nick Roberts |
Subject: |
Re: cygwin gdb |
Date: |
Fri, 4 Jul 2008 09:36:14 +1200 |
> It turns out that cygwin gdb writes windows style paths as part of the
> interactive log, but cygwin style paths as part of the annotation
> information Emacs uses.
>
> So while I was seeing c:/foo in the gdb interaction buffer, gud-find-file
> would try to access /cygdrive/c/foo.
>
> This is silently ignored, so the only symptom you have is that the source
> is not being displayed when you hit a breakpoint and step through the code.
>
> Including cygwin-mount.el in Emacs would address this, but I'm not sure of
> the copyright situation there (I've written the 2 copyright holders listed
> in the file, Michael Cook and Klaus Berndl.)
>
> Another option would be to detect this situation and notify the user that
> cygwin-mount.el should be set up to display the source code.
I thought that this was discussed before and that the solution was either
to use MinGW gdb or build your Emacs under Cygwin. Isn't cygwin-mount.el
just a fix for when you have mixed builds?
--
Nick http://www.inet.net.nz/~nickrob