all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* cygwin gdb
@ 2008-07-03 11:52 René Kyllingstad
  2008-07-03 21:36 ` Nick Roberts
  2008-07-03 22:34 ` Stefan Monnier
  0 siblings, 2 replies; 4+ messages in thread
From: René Kyllingstad @ 2008-07-03 11:52 UTC (permalink / raw)
  To: emacs-devel

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é





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-07-03 22:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-03 11:52 cygwin gdb René Kyllingstad
2008-07-03 21:36 ` Nick Roberts
2008-07-03 22:34 ` Stefan Monnier
2008-07-03 22:59   ` Miles Bader

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.