From: "René Kyllingstad" <listmailemacs@kyllingstad.com>
To: emacs-devel@gnu.org
Subject: cygwin gdb
Date: Thu, 03 Jul 2008 13:52:01 +0200 [thread overview]
Message-ID: <hcb7qj6m.fsf@smtpserver.esmertec.com> (raw)
Hi,
I'd like to set up a minimal .emacs to let others start using Emacs as an
interface to gdb where I work.
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.
Any opinions?
-- René
next reply other threads:[~2008-07-03 11:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-03 11:52 René Kyllingstad [this message]
2008-07-03 21:36 ` cygwin gdb Nick Roberts
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=hcb7qj6m.fsf@smtpserver.esmertec.com \
--to=listmailemacs@kyllingstad.com \
--cc=emacs-devel@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).