From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: GDB under emacs can't deal with source code frame Date: Sat, 07 Mar 2009 12:20:54 +0200 Message-ID: References: <4143b922-8708-4c70-af85-a7fc6b759c7f@w24g2000prd.googlegroups.com> <96241874-7e1c-4c91-8fda-d38eeed398fc@a39g2000yqc.googlegroups.com> <18866.5464.859927.198424@snap.net.nz> 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 1236421353 2324 80.91.229.12 (7 Mar 2009 10:22:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Mar 2009 10:22:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 07 11:23:50 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 1Lfth8-0008RR-0j for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Mar 2009 11:23:50 +0100 Original-Received: from localhost ([127.0.0.1]:36890 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lftfm-0007pg-FX for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Mar 2009 05:22:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LfteJ-00079y-ER for help-gnu-emacs@gnu.org; Sat, 07 Mar 2009 05:20:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LfteH-00078j-Oo for help-gnu-emacs@gnu.org; Sat, 07 Mar 2009 05:20:54 -0500 Original-Received: from [199.232.76.173] (port=50921 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfteH-00078V-Bm for help-gnu-emacs@gnu.org; Sat, 07 Mar 2009 05:20:53 -0500 Original-Received: from mtaout5.012.net.il ([84.95.2.13]:60683) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LfteH-000138-12 for help-gnu-emacs@gnu.org; Sat, 07 Mar 2009 05:20:53 -0500 Original-Received: from conversion-daemon.i_mtaout5.012.net.il by i_mtaout5.012.net.il (HyperSendmail v2004.12) id <0KG400700SQMGC00@i_mtaout5.012.net.il> for help-gnu-emacs@gnu.org; Sat, 07 Mar 2009 12:21:02 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.192.247]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KG400M59SR2RK43@i_mtaout5.012.net.il> for help-gnu-emacs@gnu.org; Sat, 07 Mar 2009 12:21:02 +0200 (IST) In-reply-to: <18866.5464.859927.198424@snap.net.nz> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 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:62730 Archived-At: > Date: Sat, 7 Mar 2009 19:34:00 +1300 > From: nickrob@snap.net.nz (Nick Roberts) > Cc: help-gnu-emacs@gnu.org >=20 > > > Where did you get the ported GDB? =A0Is it by chance the Cygwin= port of > > > GDB? > >=20 > > yes. The environment variable 'HOME' is set to point to Cygwin's= bin > > directory. What's the problem of it? >=20 > I think Gdb and Emacs have a different expectation for the pathname= syntax.=20 > There are some suggestions in gdb-ui.el: >=20 > ;; If you are using Cygwin GDB and find that the source is not bein= g displayed > ;; in Emacs when you step through it, possible solutions are to: >=20 > ;; 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 There could also be an incompatibility between a native Windows build of Emacs and Cygwin GDB wrt I/O, since the way used by Emacs to invok= e a subsidiary GDB might be incompatible with Cygwin pipe and console I/O expectations. Therefore, 1) and 2) above are recommended in preference to 3).