X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=ZTAVbTO4N1YFmaoh
	Nl3uzVslBs9VfyEgpcBgrp+nSQDgp3KYyCo2M4xg3PexidN3d+0v561XdJFN+2sa
	cFB92XahnoP+Dhr2w67vifN1/k+4iRDwtS1206059D4PEeei+c1O1D4F4swLDM2I
	9tGY9RbarQ+iZCI7BdFLc19SNx8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=fhXc77ZUo1zjp4PVTW97Mt
	uNVMs=; b=SSGud5y0GcPJC6X+I25u5G0mGoykb2FjOCtS0m6xZwCNo9Q7ymMgNS
	Q2/yNCLeQagntNbI6+YYT/u4ZuM6wDgQXp9Ko24wcNxcCrdhqwlhPeOnqHIs6meL
	As+ncMpE4yIPYjg8NohEUWGUyje7hfhBSg08qyDW3o8bhFxb4SCY4=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=Hx-spam-relays-external:ESMTPA
X-HELO: out1-smtp.messagingengine.com
Subject: Re: gdb 7.11.1-2 started within emacs fails
To: cygwin@cygwin.com
References: <d4a9e76c90c44c7cb0fa915a2589c0f6@vsrv060ex03.ssd.fsi.com> <207e93bf-8f7e-57a3-1abc-cc645c79020c@cornell.edu> <c22d24beaf74442c876eb45e9d664bd4@vsrv060ex03.ssd.fsi.com> <CAH5rLZU9808GtL8KeaZYrYS0zrORyJXE4+jyiBNmFoSccd-z3g@mail.gmail.com> <cf9fc69a153f41f7b4c0296774a85f96@vsrv060ex03.ssd.fsi.com>
From: Jon Turney <jon.turney@dronecode.org.uk>
Message-ID: <5e89687c-41fc-b7ee-55af-4f32b52ced9b@dronecode.org.uk>
Date: Thu, 20 Oct 2016 15:08:41 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <cf9fc69a153f41f7b4c0296774a85f96@vsrv060ex03.ssd.fsi.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

On 19/10/2016 17:46, Rockefeller, Harry wrote:
>>>> I can confirm that this happens also with gdb-7.11.1-1 but not
>>>> gdb-7.10.1-1.  (I tested on x86_64, since gdb-7.10.1-1 is broken on x86.)
>>>> It also fails with M-x gdb instead of M-x gud-gdb, but with a different error message:
>>>> Failed to resume program execution (ContinueDebugEvent failed, error
>>>> 87) Ken
>>>
>>> I tried using 'ddd' instead of emacs and gdb aborts with the same readline ... message above.
>
>> Any progress on the above issue? I recently updated my gdb and am running into the same problem.
>
> No progress I am aware of.  I switched over to 64-bit Cygwin which uses gdb-7.10.1-1 to avoid this problem.

I've done some investigation, and the problem seems to be that when run 
from emacs or ddd, the inferior process doesn't end up in it's own 
process group, but I haven't made any progress on why that is happening.

per [1], I think I've fixed the problem with x86 and gdb-7.10.1-1, so it 
should no longer be necessary to use gdb-7.11.1 to avoid those problems, 
but obviously this needs to be fixed at some point...

[1] https://cygwin.com/ml/cygwin/2016-10/msg00243.html

--
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

