From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6710 invoked by alias); 26 Nov 2002 23:28:13 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 6694 invoked from network); 26 Nov 2002 23:28:12 -0000 Received: from unknown (63.201.54.26) by sources.redhat.com with QMTP; 26 Nov 2002 23:28:12 -0000 Received: (qmail 315 invoked by uid 10); 26 Nov 2002 23:28:12 -0000 Received: (qmail 1408 invoked by uid 500); 26 Nov 2002 23:29:36 -0000 Mail-Followup-To: ac131313@redhat.com, klee@apple.com, binutils@sources.redhat.com, gdb@sources.redhat.com, amodra@bigpond.net.au To: Alan Modra Cc: Andrew Cagney , Klee Dienes , binutils@sources.redhat.com, gdb@sources.redhat.com Subject: Re: [RFA] Replace strdup with xstrdup in tic30-dis.c References: <4D2AFB6A-FD1E-11D6-B723-00039396EEB8@apple.com> <3DE3EFC4.2010209@redhat.com> <20021126223746.GQ949@bubble.sa.bigpond.net.au> From: Ian Lance Taylor Date: Tue, 26 Nov 2002 15:28:00 -0000 In-Reply-To: <20021126223746.GQ949@bubble.sa.bigpond.net.au> Message-ID: 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-11/txt/msg00375.txt.bz2 Alan Modra writes: > Hmm, I'm inclined to just use "int" directly rather than introduce a > "bfd_boolean". Unless I hear objections, that's what I'll do one of > these days.. I tend to think that bfd_boolean is better because it makes the code slightly more self-documenting. An int variable might hold any value, but a bfd_boolean variable is clearly intended to hold only a true or false value. But I'm hardly fanatical about it. Ian