From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: xf.lotus@gmail.com Newsgroups: gmane.emacs.help Subject: Re: GDB under emacs can't deal with source code frame Date: Fri, 6 Mar 2009 17:06:31 -0800 (PST) Organization: http://groups.google.com Message-ID: <96241874-7e1c-4c91-8fda-d38eeed398fc@a39g2000yqc.googlegroups.com> References: <4143b922-8708-4c70-af85-a7fc6b759c7f@w24g2000prd.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 1236405702 5984 80.91.229.12 (7 Mar 2009 06:01:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Mar 2009 06:01:42 +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 07:02:59 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 1Lfpcf-0000JG-BO for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Mar 2009 07:02:57 +0100 Original-Received: from localhost ([127.0.0.1]:42677 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfpbJ-0004l7-Rz for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Mar 2009 01:01:33 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!postnews.google.com!a39g2000yqc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: 219.228.59.9 Original-X-Trace: posting.google.com 1236387991 24250 127.0.0.1 (7 Mar 2009 01:06:31 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 7 Mar 2009 01:06:31 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a39g2000yqc.googlegroups.com; posting-host=219.228.59.9; posting-account=IdONBwoAAACy439HaSuIqVMzXdOKRRkx User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:167416 X-Mailman-Approved-At: Sat, 07 Mar 2009 00:54:55 -0500 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:62719 Archived-At: On Mar 7, 12:01=A0am, Eli Zaretskii wrote: > > From: xf.lo...@gmail.com > > Date: Fri, 6 Mar 2009 01:28:50 -0800 (PST) > > > =A0 =A0 I try to use gdb under emacs to debug source code. According to > > the manual, after starting gdb under emacs, there should be a arrow in > > the left fringe indicating the current executing line. But, in my > > experience, this is not the case. Although the source frame appear, > > there is not the arrow at all. The environment: winxp + emacs-22.3- > > win, and the varibles gdb-many-windows and gdb-show-main are non-nil. > > Where did you get the ported GDB? =A0Is it by chance the Cygwin port of > GDB? yes. The environment variable 'HOME' is set to point to Cygwin's bin directory. What's the problem of it?