From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47686 invoked by alias); 19 Oct 2016 15:30:20 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 47591 invoked by uid 89); 19 Oct 2016 15:30:08 -0000 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 Received: from mail-qk0-f181.google.com (HELO mail-qk0-f181.google.com) (209.85.220.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 19 Oct 2016 15:29:58 +0000 Received: by mail-qk0-f181.google.com with SMTP id n189so41794728qke.0 for ; Wed, 19 Oct 2016 08:29:58 -0700 (PDT) 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 Received: by 10.140.38.148 with HTTP; Wed, 19 Oct 2016 08:29:56 -0700 (PDT) In-Reply-To: References: <207e93bf-8f7e-57a3-1abc-cc645c79020c@cornell.edu> From: "William M. (Mike) Miller" Date: Wed, 19 Oct 2016 16:47:00 -0000 Message-ID: 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 X-SW-Source: 2016-10/txt/msg00234.txt.bz2 On Thu, Sep 29, 2016 at 11:21 AM, Rockefeller, Harry 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