This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: PATCH: PATCH: Add builtin floating point types
On Sun, Feb 07, 2010 at 03:03:09PM -0800, H.J. Lu wrote:
> How about adding it to common code without initializing it?
> I will lazy initialize it in target-description.c only when it
> is used?
It's easy to add per-gdbarch variables using gdbarch_data.
I was suggesting the cache at the level of arch_floating_type (or
however it's called).
--
Daniel Jacobowitz
CodeSourcery