From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9650 invoked by alias); 19 Jun 2002 19:19:00 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 9579 invoked from network); 19 Jun 2002 19:18:56 -0000 Received: from unknown (HELO gash2.peakpeak.com) (207.174.178.17) by sources.redhat.com with SMTP; 19 Jun 2002 19:18:56 -0000 Received: from fleche.redhat.com (ta0196.peakpeak.com [204.144.244.196]) by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id NAA23867 for ; Wed, 19 Jun 2002 13:18:53 -0600 Received: by fleche.redhat.com (Postfix, from userid 1000) id 5F8504F80A9; Wed, 19 Jun 2002 13:32:25 -0600 (MDT) To: Elena Zannoni Cc: gdb-patches@sources.redhat.com Subject: Re: Patch: RFA: operate-and-get-next fix References: <87n0vtc1n2.fsf@creche.redhat.com> <15632.50715.850955.747717@localhost.redhat.com> From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom X-Zippy: Place me on a BUFFER counter while you BELITTLE several BELLHOPS in the Trianon Room!! Let me one of your SUBSIDIARIES! Date: Wed, 19 Jun 2002 12:19:00 -0000 In-Reply-To: <15632.50715.850955.747717@localhost.redhat.com> Message-ID: <87it4f6p4m.fsf@fleche.redhat.com> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-06/txt/msg00377.txt.bz2 >>>>> "Elena" == Elena Zannoni writes: Elena> Shouldn't gdb_readline_wrapper return the result? Yes, thanks for catching that. I guess the current code works only by mistake. Elena> This stuff is getting impossibly convoluted. :-( Yes. Unfortunately the best fix involves some tricky readline hacking. Basically it would mean making rl_pre_input_hook work correctly in the async case. Elena> Could you come up with a testcase to add to the testsuite? Sure. I don't know when; I'll get back to you once I've done it. It could be quite some time. Tom