From: Nick Roberts <nickrob@snap.net.nz>
To: "René Kyllingstad" <listmailemacs@kyllingstad.com>
Cc: emacs-devel@gnu.org
Subject: Re: cygwin gdb
Date: Fri, 4 Jul 2008 09:36:14 +1200 [thread overview]
Message-ID: <18541.17998.417507.728451@kahikatea.snap.net.nz> (raw)
In-Reply-To: <hcb7qj6m.fsf@smtpserver.esmertec.com>
> 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
next prev parent reply other threads:[~2008-07-03 21:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-03 11:52 cygwin gdb René Kyllingstad
2008-07-03 21:36 ` Nick Roberts [this message]
2008-07-03 22:34 ` Stefan Monnier
2008-07-03 22:59 ` Miles Bader
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=18541.17998.417507.728451@kahikatea.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=emacs-devel@gnu.org \
--cc=listmailemacs@kyllingstad.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.