This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: cygwin, emacs-20.7, POSE, gdbplug
- To: cygwin at sourceware dot cygnus dot com
- Subject: Re: cygwin, emacs-20.7, POSE, gdbplug
- From: Shun-ichi GOTO <gotoh at taiyo dot co dot jp>
- Date: Wed, 17 Oct 2001 14:29:39 +0900 (JST)
- References: <3BCD050F.4010607@pacbell.net>
>>>>> at Tue, 16 Oct 2001 21:11:59 -0700
>>>>> Steve Kelem <s_kelem@pacbell.net> said,>
> Here emacs opens a file called mine.c, but it's
> c:/c/Palm/Pmines/pmines/src/mine.c
> instead of c:/Palm/Pmines/pmines/src/mine.c or
> /c/Palm/Pmines/pmines/src/mine.c
>
> Does anyone have an idea of how to fix this?
That's a issue on emacs, not cygwin.
How about this? (add in your ~/.emacs)
(eval-after-load "gud"
'(defadvice gud-gdb-find-file (before win32 (f) activate)
"Convert cygwin format file name into standard format."
(let ((case-fold-search nil))
(if (string-match "^//?\\([a-z]\\)\\(/.*\\)" f)
(setq f (concat (match-string 1 f) ":" (match-string 2 f)))))))
I'm not tested on recent gdb environment.
--- Regards,
Shun-ichi Goto <gotoh@taiyo.co.jp>
R&D Group, TAIYO Corp., Tokyo, JAPAN
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/