delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/10/13/22:45:54

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.1 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <4E97A244.3080109@cornell.edu>
Date: Thu, 13 Oct 2011 22:45:24 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Problem w/ gdb 7.3.50-2 under emacs
References: <CAP_ScW024Rb4Y=NJC-QDRTbuShVr1JCKkGTz-WbKcari7ueFbQ AT mail DOT gmail DOT com> <4E7497DA DOT 1090800 AT cornell DOT edu> <4E9720D4 DOT 8070707 AT cs DOT utoronto DOT ca> <4E972ED8 DOT 2080707 AT cs DOT utoronto DOT ca> <4E9767F1 DOT 3080709 AT cornell DOT edu> <4E978C00 DOT 4020901 AT cs DOT utoronto DOT ca>
In-Reply-To: <4E978C00.4020901@cs.utoronto.ca>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 10/13/2011 9:10 PM, Ryan Johnson wrote:
> On 13/10/2011 6:36 PM, Ken Brown wrote:
>> On 10/13/2011 2:32 PM, Ryan Johnson wrote:
>>> Update: gdb (previous version and home-built) doesn't seg fault, but is
>>> unable to run commands under the latest cygwin emacs: nothing happens
>>> when you hit [enter], though it usually responds to ^C and comes back to
>>> the gdb prompt. A home-built emacs works perfectly (at least, with the
>>> previous version of cygwin gdb).
>>
>> Are you implying that the previous version of Cygwin gdb doesn't work
>> with Cygwin emacs?
> On my machine, yes... though I don't remember this being a problem
> before upgrading gdb the first time. YMMV.

I just found a workaround that allows M-x gdb to work in emacs with the 
current gdb (7.3.50-2).  Start M-x gdb and don't specify a filename. 
gdb starts up fine.  Then use the "file" command in gdb to load the 
program you want to debug, and everything works.

See if that works for you.

Ken


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019