From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nickrob@snap.net.nz (Nick Roberts) Newsgroups: gmane.emacs.help Subject: Re: GDB under emacs can't deal with source code frame Date: Sat, 7 Mar 2009 19:34:00 +1300 Message-ID: <18866.5464.859927.198424@snap.net.nz> References: <4143b922-8708-4c70-af85-a7fc6b759c7f@w24g2000prd.googlegroups.com> <96241874-7e1c-4c91-8fda-d38eeed398fc@a39g2000yqc.googlegroups.com> 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 1236414716 21188 80.91.229.12 (7 Mar 2009 08:31:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Mar 2009 08:31:56 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: xf.lotus@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 07 09:33:12 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lfry1-0001DQ-In for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Mar 2009 09:33:10 +0100 Original-Received: from localhost ([127.0.0.1]:41356 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lfrwf-0008Ut-U6 for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Mar 2009 03:31:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LfrwN-0008U7-0L for help-gnu-emacs@gnu.org; Sat, 07 Mar 2009 03:31:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LfrwK-0008Tv-V4 for help-gnu-emacs@gnu.org; Sat, 07 Mar 2009 03:31:25 -0500 Original-Received: from [199.232.76.173] (port=52753 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfrwK-0008Ts-Ru for help-gnu-emacs@gnu.org; Sat, 07 Mar 2009 03:31:24 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:41669) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LfrwK-0000Fk-Ch for help-gnu-emacs@gnu.org; Sat, 07 Mar 2009 03:31:24 -0500 Original-Received: from viper.snap.net.nz ([202.37.101.23]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LfrwE-0001RY-Rx for help-gnu-emacs@gnu.org; Sat, 07 Mar 2009 03:31:19 -0500 Original-Received: from totara (97.60.255.123.dynamic.snap.net.nz [123.255.60.97]) by viper.snap.net.nz (Postfix) with ESMTP id E66D33DA2DC; Sat, 7 Mar 2009 19:34:01 +1300 (NZDT) Original-Received: by totara (Postfix, from userid 1000) id EDA6EC081; Sat, 7 Mar 2009 19:34:00 +1300 (NZDT) Original-Newsgroups: gnu.emacs.help In-Reply-To: <96241874-7e1c-4c91-8fda-d38eeed398fc@a39g2000yqc.googlegroups.com> X-Mailer: VM 7.19 under Emacs 22.2.1 X-detected-kernel: by mx20.gnu.org: Linux 2.4-2.6 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62726 Archived-At: > > Where did you get the ported GDB? =A0Is it by chance the Cygwin por= t of > > GDB? >=20 > yes. The environment variable 'HOME' is set to point to Cygwin's bin= > directory. What's the problem of it? I think Gdb and Emacs have a different expectation for the pathname syn= tax.=20 There are some suggestions in gdb-ui.el: ;; If you are using Cygwin GDB and find that the source is not being di= splayed ;; in Emacs when you step through it, possible solutions are to: ;; 1) Use Cygwin X Windows and Cygwin Emacs. ;; (Since 22.1 Emacs builds under Cygwin.) ;; 2) Use MinGW GDB instead. ;; 3) Use cygwin-mount.el --=20 Nick http://www.inet.net.nz/~= nickrob