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:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=Z0ZLXrylYx5Khq2S j/VMUB1duVAKS+hdShmssadIYiWd678fmYY/j2Jx0+MKxBGA8el7/xI2co7aI9fO FIXg+fGqNTgUErRwOQOv4h6GyXAPioweh8/MCA5h++3HSbHvyvZrrQsUjNDbQzXB TDnFc5Sepj2VLrNBF7qrd4bD28Q= 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=e8OIX7ok2xaSgY4ye9Mt46 v78sA=; b=jvO7ZAZo1V9M39ju4Gc4gerWMnQfmRUGAQbGD4yoTH+yunm/yEjvJ7 RBJJsikG2x5kW1UB2/9UIFGCIcyJiGxcwP6RQEIBa3Sx7na/KgFWeiVGH0Zeh5uk 7f7oyXPOCXnXsr0jt4l4UFKdZNvsQEMlLE07Tjikmcvs5d5taN5FQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-4.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=Inside, H*f:sk:d4a9e76, H*i:sk:d4a9e76 X-HELO: limerock01.mail.cornell.edu X-CornellRouted: This message has been Routed already. Subject: Re: gdb 7.11.1-2 started within emacs fails To: cygwin AT cygwin DOT com References: From: Ken Brown Message-ID: <207e93bf-8f7e-57a3-1abc-cc645c79020c@cornell.edu> Date: Tue, 27 Sep 2016 16:15:51 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Cornell-Gauge: Gauge=X X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-IsSubscribed: yes 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 -- 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