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: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 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: 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: References: <207e93bf-8f7e-57a3-1abc-cc645c79020c AT cornell DOT edu> From: "William M. (Mike) Miller" Date: Wed, 19 Oct 2016 11:29:56 -0400 Message-ID: Subject: Re: gdb 7.11.1-2 started within emacs fails To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes On Thu, Sep 29, 2016 at 11:21 AM, Rockefeller, Harry wrote: > >>-----Original Message----- >>From: cygwin-owner AT cygwin DOT com [mailto:cygwin->owner AT cygwin DOT com] On Behalf Of Ken Brown >>Sent: Tuesday, September 27, 2016 3:16 PM >>To: cygwin AT cygwin DOT 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 DOT m DOT miller AT gmail DOT 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