X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0	tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_NEUTRAL,TW_BG,TW_CG,TW_YG
X-Spam-Check-By: sourceware.org
Message-ID: <4EBB38F7.1020303@cornell.edu>
Date: Wed, 09 Nov 2011 21:37:43 -0500
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: gdb broken inside emacs (again? still?)
References: <4EBAF428.9040508@cs.utoronto.ca> <4EBAFF80.9020604@cornell.edu> <4EBB07F6.1010101@cs.utoronto.ca>
In-Reply-To: <4EBB07F6.1010101@cs.utoronto.ca>
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 11/9/2011 6:08 PM, Ryan Johnson wrote:
> On 09/11/2011 5:32 PM, Ken Brown wrote:
>> On 11/9/2011 4:44 PM, Ryan Johnson wrote:
>>> Debugging anything within emacs is thus completely impossible at this
>>> time.
>>
>> cgf has already stated that this will be fixed in the next release of
>> gdb; see
>>
>> http://cygwin.com/ml/cygwin/2011-10/msg00564.html
>>
> Sorry, must have missed that one. Thanks for pointing me at it.
>
>> In the meantime, can't you use gdb 7.3.50-1? If you also have problems
>> with that release, please send detailed instructions for reproducing
>> the problem (starting with emacs -Q).
> No luck:
>
> $ cygcheck -cd | grep gdb
> gdb 7.3.50-1
> libgdbm4 1.8.3-20
> $ emacs -Q -nw
> M-x gdb
> Run gdb (like this): gdb
                        ^^^^^^^^^

That's your problem.  You've deleted `--annotate=3' from the prompt 
emacs gave you.  emacs-23 needs that to be there.  M-x gdb works fine 
for me like that, using both gdb 7.3.50-1 and 7.3.50-3 (which is now 
available).  I tested with Cygwin 1.7.9 as well as with the latest snapshot.

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

