delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/10/11/15:45:09

X-Recipient: archive-cygwin AT delorie DOT 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:cc:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=Yn/dgorARd9y8TV+
lXb8RcgmC0vl8q6DprM+Y1iF2VF5EIpdWAlBuSK0no0sCKsEBBRgOX1rL/Kwl72b
SnCczhkfvRtunxhFN3eW5Y3opjAkSyThTtd1+UGkoIe/iqYw1EWCrNAiacc1ba/P
B25LY4b8riVVFrx8GhlgTJfhV/c=
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:cc:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=POQbvSYdLxUCJweqXBHG3P
BV1QM=; b=J8qZzv3GDBk+UlXYFY1czafUZzRmr5ivcYYdj1n+SSzL4I3yoINc57
tfSyq5GBdZ2MJuDceRF/sf+K5+1ACVDM6jkvyLQUi+A/3fyiNt/BrhWisU4kti/Z
Li534QziKdrRfRyzZ8sKkmW5TvtmaGQhv5DkqNrsnhd1Bp7+fRWZg=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=prompting, Hx-languages-length:1376, Mx, Inside
X-HELO: out1-smtp.messagingengine.com
X-ME-Sender: <xms:rHTeWbBDRfVcZvccxpqnW7qw_-WstygCkXlQrab0zbbizzsWFfQSVA>
Subject: Re: gdb 7.11.1-2 started within emacs fails
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
References: <d4a9e76c90c44c7cb0fa915a2589c0f6 AT vsrv060ex03 DOT ssd DOT fsi DOT com> <207e93bf-8f7e-57a3-1abc-cc645c79020c AT cornell DOT edu>
Cc: "Rockefeller, Harry" <Harry DOT Rockefeller AT flightsafety DOT com>
From: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
Message-ID: <9bed0b67-2930-ee6b-8361-4bf4d9d7d542@dronecode.org.uk>
Date: Wed, 11 Oct 2017 20:44:43 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version: 1.0
In-Reply-To: <207e93bf-8f7e-57a3-1abc-cc645c79020c@cornell.edu>
Note-from-DJ: This may be spam

On 27/09/2016 21:15, Ken Brown wrote:
> 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)

These problem seem not longer occur due to upstream changes in gdb 7.12.

I've uploaded a gdb 7.12.1-1 test package.

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