From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 939 invoked by alias); 27 Sep 2003 18:38:33 -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 932 invoked from network); 27 Sep 2003 18:38:32 -0000 Received: from unknown (HELO localhost.redhat.com) (65.49.0.121) by sources.redhat.com with SMTP; 27 Sep 2003 18:38:32 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id C6C332B8D; Sat, 27 Sep 2003 14:38:24 -0400 (EDT) Message-ID: <3F75D920.8070201@redhat.com> Date: Sat, 27 Sep 2003 18:38:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Kettenis Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] Use ARRAY_SIZE in i386-tdep.c References: <200309271743.h8RHh6Ov008233@elgar.kettenis.dyndns.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-09/txt/msg00603.txt.bz2 > I noticed that we have the ARRAY_SIZE macro in libiberty.h. Makes > things more readable IMHO, so I checked this in. > > Mark > > Index: ChangeLog > from Mark Kettenis > > * i386-tdep.c (i386_num_register_names, i386_num_mmx_regs): > Initialize using ARRAY_SIZE. > Yep, its even in the ARI! Andrew