This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [rfc] Add TYPE_FLOATFORMAT() to `struct type'


I've checked this in.
	Andrew

> Continuing with this floating-point overhall, the attatched adds TYPE_FLOATFORMAT() to the floating-point (TYPE_CODE_FLT) `struct type' objects.  All the existing builtin FP types are updated.  I even discovered and updated ``(gdb) maint print type double''.
> 
> Assuming no one says anything about this, I'll check this patch in in a few days.
> 
> The next steps are:
> 
>     o    add builtin types for all those floatformats
> 
>     o    update the store_floating() and extract_floating()
>         functions make use of TYPE_FLOATFORMAT().
> 
>     Andrew
> 
> 
> 
> 2001-08-20  Andrew Cagney  <ac131313@redhat.com>
> 
> * gdbtypes.c (build_gdbtypes): Initialize TYPE_FLOATFORMAT field
> 	of builtin_type_float, builtin_type_double and
> 	builtin_type_long_double.
> 	(recursive_dump_type): Print the floatformat name.
> 	* gdbtypes.h (struct type): Add type_specific field floatformat.
> 	(TYPE_FLOATFORMAT): Define
> 
> 



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