From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: cygwin gdb Date: Fri, 4 Jul 2008 09:36:14 +1200 Message-ID: <18541.17998.417507.728451@kahikatea.snap.net.nz> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1215122207 6180 80.91.229.12 (3 Jul 2008 21:56:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jul 2008 21:56:47 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?iso-8859-1?Q?Ren=E9?= Kyllingstad Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 03 23:57:32 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KEWnz-0007Pv-8Y for ged-emacs-devel@m.gmane.org; Thu, 03 Jul 2008 23:57:31 +0200 Original-Received: from localhost ([127.0.0.1]:50939 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEWn8-0006Qu-3i for ged-emacs-devel@m.gmane.org; Thu, 03 Jul 2008 17:56:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KEWn2-0006OU-EM for emacs-devel@gnu.org; Thu, 03 Jul 2008 17:56:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KEWn0-0006N3-UC for emacs-devel@gnu.org; Thu, 03 Jul 2008 17:56:31 -0400 Original-Received: from [199.232.76.173] (port=35906 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEWn0-0006Mw-JL for emacs-devel@gnu.org; Thu, 03 Jul 2008 17:56:30 -0400 Original-Received: from viper.snap.net.nz ([202.37.101.25]:50212) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KEWn0-0008CW-0X for emacs-devel@gnu.org; Thu, 03 Jul 2008 17:56:30 -0400 Original-Received: from kahikatea.snap.net.nz (242.30.255.123.static.snap.net.nz [123.255.30.242]) by viper.snap.net.nz (Postfix) with ESMTP id ADF483DA755; Fri, 4 Jul 2008 09:36:20 +1200 (NZST) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 27CDA8FC6D; Fri, 4 Jul 2008 09:36:15 +1200 (NZST) In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.2.50.3 X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:100310 Archived-At: > 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