X-Recipient: archive-cygwin@delorie.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: <4E9ABA88.8070407@cornell.edu>
Date: Sun, 16 Oct 2011 07:05:44 -0400
From: Ken Brown <kbrown@cornell.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@cygwin.com
Subject: Re: Problem w/ gdb 7.3.50-2 under emacs
References: <CAP_ScW024Rb4Y=NJC-QDRTbuShVr1JCKkGTz-WbKcari7ueFbQ@mail.gmail.com> <4E7497DA.1090800@cornell.edu> <4E9720D4.8070707@cs.utoronto.ca> <4E972ED8.2080707@cs.utoronto.ca> <4E9767F1.3080709@cornell.edu> <4E978C00.4020901@cs.utoronto.ca> <4E97A244.3080109@cornell.edu>
In-Reply-To: <4E97A244.3080109@cornell.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 10/13/2011 10:45 PM, Ken Brown wrote:
> 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.

I've found the problem.  The crash is caused by some of the commands 
that emacs sends to gdb during initialization.  I've reported this in

   http://cygwin.com/ml/cygwin/2011-10/msg00289.html

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

