From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: gdb-patches@sources.redhat.com Subject: [rfc] Add TYPE_FLOATFORMAT() to `struct type' Date: Mon, 20 Aug 2001 20:42:00 -0000 Message-id: <3B81D8A8.70603@cygnus.com> X-SW-Source: 2001-08/msg00231.html Hello, 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 >From ac131313@cygnus.com Mon Aug 20 21:28:00 2001 From: Andrew Cagney To: Fernando Nasser Cc: gdb-patches@sources.redhat.com Subject: Re: [rfa] Attempt #3: Eliminate HOST_*_FORMAT from arm-*tdep.c Date: Mon, 20 Aug 2001 21:28:00 -0000 Message-id: <3B81E36D.8090007@cygnus.com> References: <3B60DF2A.5020902@cygnus.com> <3B7086BC.5020908@cygnus.com> <3B81CA86.FEDFF20D@cygnus.com> X-SW-Source: 2001-08/msg00232.html Content-length: 515 > > Sorry for the delay Andrew. > > As per our conversation, this seems to be the correct thing to do. > We haven't heard of any objection, so lets try it. > > Please check it in. > > Regards, > Fernando Thanks! I've taken the liberty of updating it slightly. Since there is now a floatformat_arm_ext_littlebyte_bigword available, I'm able to ``FIX'' the fixme. It now uses floatformat_arm_ext_littlebyte_bigword when the target is little endian. I've attached the relevant bit of the patch. Andrew