This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc] Make register_type calls more consistent


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]