From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3602 invoked by alias); 6 Jan 2010 23:41:59 -0000 Received: (qmail 3593 invoked by uid 22791); 6 Jan 2010 23:41:58 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 06 Jan 2010 23:41:54 +0000 Received: (qmail 1530 invoked from network); 6 Jan 2010 23:41:53 -0000 Received: from unknown (HELO macbook-2.local) (stan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 6 Jan 2010 23:41:53 -0000 Message-ID: <4B451FBB.6060602@codesourcery.com> Date: Wed, 06 Jan 2010 23:41:00 -0000 From: Stan Shebs User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Tom Tromey CC: Stan Shebs , gdb-patches@sourceware.org Subject: Re: [PATCH] Fast tracepoints References: <4B42A628.5060302@codesourcery.com> <4B43DF5F.9060007@earthlink.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2010-01/txt/msg00127.txt.bz2 Tom Tromey wrote: >>>>>> "Stan" == Stan Shebs writes: >>>>>> > > Stan> Yeah, I considered it. It seemed like a localization mess to be > Stan> constructing strings from strings, plus I find it distasteful to have > Stan> the callee decide to allocate space in a way that compels the caller > Stan> to think about what to do with it. But as you observe, predicates > Stan> doing printouts isn't great either. > > Yeah... well, just for the record, what you have is ok by me. > Heh - I thought about it more, and ended up changing to return the informational string after all. The prospect of multiple prints from multiple calls was the most distasteful of all! :-) Stan