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:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; q=dns; s=default; b=x7/SgJq
	gPLkapwdhYt7AxH1S35FHLI09z4lXb0S8C/8tZvwcAYCxKWmDgyuuLQ/xPARR9Cr
	LwCb4HKqcrca6Sw/s1euOVnlwcUZl8WodpogliZUOLoFO71AgQk/Ocn+mB7gAtnd
	7CJIlNfIESSZhX3hJPgAWqgCqbhob3UpLc6g=
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:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; s=default; bh=Ar83OQ//4I0Zz
	Bby2UeNKnMlgtE=; b=dA5RGZz+erGNRNhV6QI4su5diRDvf5Aoqwsn4/pC76krb
	OZPxLImoyMbYI/SrrnRl/LdfOCsbLsbp3GrsjovdcwsTsFEK7irNp6uW4paBtGAZ
	Z3VJ4fVUWHWVDzIvRkTOvw/lwMoH9UEsEvpzI+XQQ/BC5PwvWoHwqZNKaB9Ntg=
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: Yes, score=5.2 required=5.0 tests=AWL,BAYES_50,CYGWIN_OWNER_BODY,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=Behalf, harry, miller, Harry
X-HELO: mail-qk0-f181.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:mime-version:in-reply-to:references:from:date         :message-id:subject:to;        bh=MBh/pCA7EoWqkIhXmttQYQHzG3fetg/kD4kswUQPxas=;        b=jRqXUmZGlR97mEh+/JjfBMLZw5NWl/4+ROc8Hth86gFvT2IE0OJpCZW9afzkgI1HuF         NFVTE5etX/bI0hTATQKqmgq2QIVB7CzHztFkyYrQLOAh7jzQ/lAf/No0nXB+t4eCWc8v         K9RXjEYP2VDOwHaKCfenSnnxRNlZo5G143o+8zbvBKJ1WQ/K+b//OYPILG6UBUcnpUfi         MHbF1PF5R4io9STb1Oklse6Ga9ziaWdyLSkDztyuGbwegJzr9VXNggH5Q118iVIGPxiU         kTcgZdX+UUUy7So+a3Mz1LnVwB0XBGi1emIVIwBJ0M8G5hNAvBGvBD/bCTl5RePE2QPX         pQEw==
X-Gm-Message-State: ABUngvfekGTT2a8yualUl8BifN2BLp9/CpQTC2y34aC0qnR6qG8m2QwKmHHXmdOUblbAIzx3s553G0pVQnZidA==
X-Received: by 10.55.6.145 with SMTP id 139mr7234378qkg.246.1476890996617; Wed, 19 Oct 2016 08:29:56 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <c22d24beaf74442c876eb45e9d664bd4@vsrv060ex03.ssd.fsi.com>
References: <d4a9e76c90c44c7cb0fa915a2589c0f6@vsrv060ex03.ssd.fsi.com> <207e93bf-8f7e-57a3-1abc-cc645c79020c@cornell.edu> <c22d24beaf74442c876eb45e9d664bd4@vsrv060ex03.ssd.fsi.com>
From: "William M. (Mike) Miller" <william.m.miller@gmail.com>
Date: Wed, 19 Oct 2016 11:29:56 -0400
Message-ID: <CAH5rLZU9808GtL8KeaZYrYS0zrORyJXE4+jyiBNmFoSccd-z3g@mail.gmail.com>
Subject: Re: gdb 7.11.1-2 started within emacs fails
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

On Thu, Sep 29, 2016 at 11:21 AM, Rockefeller, Harry
<Harry.Rockefeller@flightsafety.com> wrote:
>
>>-----Original Message-----
>>From: cygwin-owner@cygwin.com [mailto:cygwin->owner@cygwin.com] On Behalf Of Ken Brown
>>Sent: Tuesday, September 27, 2016 3:16 PM
>>To: cygwin@cygwin.com
>>Subject: Re: gdb 7.11.1-2 started within emacs fails
>
>>On 9/27/2016 2:47 PM, Rockefeller, Harry wrote:
>>> Using program foo:
>>>       program foo
>>>       e = 1.0
>>>       stop
>>>       end
>>>
>>> $ /usr/bin/gfortran    -g foo.f -o foo
>>>
>>> Emacs version info: GNU Emacs 25.1.1 (i686-pc-cygwin, GTK+ Version
>>> 3.18.9) of 2016-09-17
>>>
>>> Inside emacs I ran M-x gud-gdb and got ... GNU gdb (GDB) (Cygwin
>>> 7.11.1-2) 7.11.1 ...
>>> (gdb) b 1
>>> Breakpoint 1 at 0x4011d6: file foo.f, line 1.
>>> (gdb) r
>>> Starting program: /cygdrive/c/Users/harryr/foo.exe [New Thread
>>> 6296.0x22ac] [New Thread 6296.0x24d4]
>>> readline: readline_callback_read_char() called with no handler!
>>> Debugger aborted (core dumped)
>>>
>>> Foo written in C++ also fails with the same message.
>>> Running gdb foo in bash gives the expected result:
>>> gdb stops at first executable line prompting for next gdb command.
>>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.

-- 
William M. (Mike) Miller | Edison Design Group
william.m.miller@gmail.com

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

