From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Ren=E9?= Kyllingstad Newsgroups: gmane.emacs.devel Subject: cygwin gdb Date: Thu, 03 Jul 2008 13:52:01 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1215085979 1941 80.91.229.12 (3 Jul 2008 11:52:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jul 2008 11:52:59 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 03 13:53:46 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 1KENN6-0000O9-14 for ged-emacs-devel@m.gmane.org; Thu, 03 Jul 2008 13:53:08 +0200 Original-Received: from localhost ([127.0.0.1]:38162 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KENMF-0001Ug-FK for ged-emacs-devel@m.gmane.org; Thu, 03 Jul 2008 07:52:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KENMA-0001UN-QH for emacs-devel@gnu.org; Thu, 03 Jul 2008 07:52:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KENM9-0001Tc-2Z for emacs-devel@gnu.org; Thu, 03 Jul 2008 07:52:10 -0400 Original-Received: from [199.232.76.173] (port=34359 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KENM8-0001TZ-VQ for emacs-devel@gnu.org; Thu, 03 Jul 2008 07:52:08 -0400 Original-Received: from mail.esmertec.com ([212.249.37.45]:50378 helo=postie.esmertec.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KENM8-00011L-G7 for emacs-devel@gnu.org; Thu, 03 Jul 2008 07:52:08 -0400 Original-Received: by postie.esmertec.com (Postfix, from userid 1002) id 1AD361BED1; Thu, 3 Jul 2008 13:52:04 +0200 (CEST) Original-Received: from mail.esmertec.com (unknown [10.10.10.10]) by postie.esmertec.com (Postfix) with ESMTP id CA60D1BE6F for ; Thu, 3 Jul 2008 13:52:03 +0200 (CEST) Original-Received: from BARBUDA ([10.10.9.60]) by mail.esmertec.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 3 Jul 2008 13:52:03 +0200 User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (windows-nt) X-OriginalArrivalTime: 03 Jul 2008 11:52:03.0705 (UTC) FILETIME=[35C8C690:01C8DD03] X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:100295 Archived-At: 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 cod= e. Including cygwin-mount.el in Emacs would address this, but I'm not sure o= f the copyright situation there (I've written the 2 copyright holders liste= d 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=E9