From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 774 invoked by alias); 8 Aug 2008 23:42:28 -0000 Received: (qmail 765 invoked by uid 22791); 8 Aug 2008 23:42:28 -0000 X-Spam-Check-By: sourceware.org Received: from tully.CS.Berkeley.EDU (HELO tully.CS.Berkeley.EDU) (128.32.153.206) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 08 Aug 2008 23:41:53 +0000 Received: from tully.CS.Berkeley.EDU (localhost [127.0.0.1]) by tully.CS.Berkeley.EDU (8.13.8+Sun/8.13.8) with ESMTP id m78Nfl98007304; Fri, 8 Aug 2008 16:41:47 -0700 (PDT) Message-Id: <200808082341.m78Nfl98007304@tully.CS.Berkeley.EDU> To: Thiago Jung Bauermann cc: gdb-patches@sourceware.org Subject: Re: [RFA/commit] Reply-To: Hilfinger@CS.Berkeley.EDU In-reply-to: Your message of Fri, 08 Aug 2008 10:40:46 -0300. <1218202846.8002.2.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <7300.1218238907.1@tully.CS.Berkeley.EDU> Date: Fri, 08 Aug 2008 23:42:00 -0000 From: Paul Hilfinger 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: 2008-08/txt/msg00227.txt.bz2 > On Fri, 2008-08-08 at 06:12 -0400, Paul Hilfinger wrote: > > static struct type * > > +type_boolean (void) > > +{ > > + return builtin_type (current_gdbarch)->builtin_bool; > > +} > > To avoid introducing another use of current_gdbarch, I suggest using the > builtin_type_bool macro. OK. Thanks. Paul Hilfinger