From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20742 invoked by alias); 11 Feb 2013 22:28:37 -0000 Received: (qmail 20722 invoked by uid 22791); 11 Feb 2013 22:28:37 -0000 X-SWARE-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from elasmtp-galgo.atl.sa.earthlink.net (HELO elasmtp-galgo.atl.sa.earthlink.net) (209.86.89.61) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 11 Feb 2013 22:28:32 +0000 Received: from [68.96.200.16] (helo=macbook2.local) by elasmtp-galgo.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1U51rT-0001fG-Mz for gdb-patches@sourceware.org; Mon, 11 Feb 2013 17:28:31 -0500 Message-ID: <5119708A.5040403@earthlink.net> Date: Mon, 11 Feb 2013 22:28:00 -0000 From: Stan Shebs User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: gdb-patches@sourceware.org Subject: Re: [RFA] split up ui_printf, fix decfloat printing bugs References: <87d2w6pmbo.fsf@fleche.redhat.com> In-Reply-To: <87d2w6pmbo.fsf@fleche.redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-ELNK-Trace: ae6f8838ff913eba0cc1426638a40ef67e972de0d01da9404537bc658663a35f60306acca354f927350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-IsSubscribed: yes 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 X-SW-Source: 2013-02/txt/msg00266.txt.bz2 On 2/11/13 1:33 PM, Tom Tromey wrote: >>>>>> "Doug" == Doug Evans writes: > > Doug> I don't understand this code in ui_printf: > [...] > Doug> It makes no sense given that the format string is parsed into pieces. > Doug> Am I missing something? > > I don't understand it either. > I also think it is wrong as-is. Yeah, it looked kind of freaky to me too, but at the time I was more concerned about inadvertantly regressing printing and left it alone. Stan stan@codesourcery.com