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 and Disappearing Code Date: Mon, 06 Aug 2007 10:04:17 +0300 Message-ID: References: <975121.85883.qm@web38910.mail.mud.yahoo.com> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1186383961 25820 80.91.229.12 (6 Aug 2007 07:06:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Aug 2007 07:06:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 06 09:05:58 2007 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 1IHweS-0000hz-PH for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Aug 2007 09:05:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IHweK-0000Ic-4S for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Aug 2007 03:05:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IHwe2-0000IN-Th for help-gnu-emacs@gnu.org; Mon, 06 Aug 2007 03:04:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IHwdy-0000HK-01 for help-gnu-emacs@gnu.org; Mon, 06 Aug 2007 03:04:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IHwdx-0000HH-QD for help-gnu-emacs@gnu.org; Mon, 06 Aug 2007 03:04:45 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IHwdv-0005HZ-Gh for help-gnu-emacs@gnu.org; Mon, 06 Aug 2007 03:04:44 -0400 Original-Received: from nitzan.inter.net.il ([213.8.233.22]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IHwdY-0004UN-Tg for help-gnu-emacs@gnu.org; Mon, 06 Aug 2007 03:04:21 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-97-98.inter.net.il [80.230.97.98]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id HLM44665 (AUTH halo1); Mon, 6 Aug 2007 10:04:28 +0300 (IDT) In-reply-to: <975121.85883.qm@web38910.mail.mud.yahoo.com> (message from Tomo Lazovich on Sun, 5 Aug 2007 08:35:07 -0700 (PDT)) X-detected-kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-Detected-Kernel: 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:46345 Archived-At: > Date: Sun, 5 Aug 2007 08:35:07 -0700 (PDT) > From: Tomo Lazovich > > I'm trying to use GDB in my emacs, and when I want to test code I've been working on, I split the window and start running GDB in one of them. When I do the "run" command in GDB, my code disappears from the first window, leaving just a blank window there. Can anyone help with this? (I'm using emacs 21.3 with cygwin's gdb on Windows XP SP2). I think the last sentence (in parentheses) says it all: you are using Cygwin GDB with non-Cygwin (i.e. native Windows) port of Emacs. These two are incompatible with respect to the screen control and pipe operations, which are used by the Emacs-to-GDB interface. Solution: download and install a Cygwin port of Emacs, and use that instead of the native Windows port of Emacs.