From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19549 invoked by alias); 21 Jan 2007 17:37:58 -0000 Received: (qmail 19541 invoked by uid 22791); 21 Jan 2007 17:37:57 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Sun, 21 Jan 2007 17:37:53 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1H8gdb-0003jp-2S for gdb-patches@sourceware.org; Sun, 21 Jan 2007 12:37:51 -0500 Date: Sun, 21 Jan 2007 17:37:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Subject: Re: [rfc] Make register_type calls more consistent Message-ID: <20070121173751.GH12463@nevyn.them.org> Mail-Followup-To: gdb-patches@sourceware.org References: <20070110213809.GA16137@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070110213809.GA16137@nevyn.them.org> User-Agent: Mutt/1.5.13 (2006-08-11) 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: 2007-01/txt/msg00441.txt.bz2 On Wed, Jan 10, 2007 at 04:38:09PM -0500, Daniel Jacobowitz wrote: > I just changed all places calling their own foo_register_type method or > gdbarch_register_type to call register_type, and added a comment; > hopefully between the two changes, it won't recur. Calling > register_type is marginally more efficient since it caches the types > without having lots of branches. > > OK? I've checked this in; it was tested earlier on x86_64-pc-linux-gnu. -- Daniel Jacobowitz CodeSourcery