From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16592 invoked by alias); 13 Sep 2014 00:05:55 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 16523 invoked by uid 89); 13 Sep 2014 00:05:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sat, 13 Sep 2014 00:05:52 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s8D05p38010920 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 12 Sep 2014 20:05:51 -0400 Received: from localhost (dhcp-10-15-16-169.yyz.redhat.com [10.15.16.169]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s8D05oA3018838 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Fri, 12 Sep 2014 20:05:51 -0400 From: Sergio Durigan Junior To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 6/9] Background execution + pagination aborts readline/gdb References: <1404400736-17307-1-git-send-email-palves@redhat.com> <1404400736-17307-7-git-send-email-palves@redhat.com> X-URL: http://www.redhat.com Date: Sat, 13 Sep 2014 00:05:00 -0000 In-Reply-To: <1404400736-17307-7-git-send-email-palves@redhat.com> (Pedro Alves's message of "Thu, 3 Jul 2014 16:18:53 +0100") Message-ID: <87ioks1j1d.fsf@redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2014-09/txt/msg00473.txt.bz2 On Thursday, July 03 2014, Pedro Alves wrote: > If pagination occurs as result of output sent as response to a target > event while the target is executing in the background, subsequent > input aborts readline/gdb: > > $ gdb program > ... > (gdb) continue& > Continuing. > (gdb) > ---Type to continue, or q to quit--- > *return* > ---Type to continue, or q to quit--- > Breakpoint 2, after_sleep () at paginate-bg-execution.c:21 > ---Type to continue, or q to quit--- > 21 return; /* after sleep */ > p 1 > readline: readline_callback_read_char() called with no handler! > *abort/SIGABRT* > $ Hi Pedro, FWIW, this patch caused . Cheers, -- Sergio GPG key ID: 0x65FC5E36 Please send encrypted e-mail if possible http://sergiodj.net/