| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Date: | Wed, 17 Oct 2001 14:29:39 +0900 (JST) |
| Message-Id: | <20011017.142939.130785953.gotoh@taiyo.co.jp> |
| 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> |
| In-Reply-To: | <3BCD050F.4010607@pacbell.net> |
| References: | <3BCD050F DOT 4010607 AT pacbell DOT net> |
| X-Mailer: | Mew version 2.0.58 on Emacs 20.7 / Mule 4.1 (AOI) |
| X-Cite-Me: | =?iso-2022-jp?B?GyRCOGUbKEI=?= |
| Mime-Version: | 1.0 |
>>>>> at Tue, 16 Oct 2001 21:11:59 -0700
>>>>> Steve Kelem <s_kelem AT pacbell DOT 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 AT taiyo DOT co DOT 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |