This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Make register_type calls more consistent
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Date: Sun, 21 Jan 2007 12:37:51 -0500
- Subject: Re: [rfc] Make register_type calls more consistent
- References: <20070110213809.GA16137@nevyn.them.org>
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