This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Multi-arching FLOAT_INFO
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Cc: Richard dot Earnshaw at arm dot com, gdb at sources dot redhat dot com
- Date: Tue, 05 Feb 2002 15:57:06 +0000
- Subject: Re: Multi-arching FLOAT_INFO
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
> > + void
> > + default_float_info (void)
> > + {
> > + #ifdef FLOAT_INFO
> > + #if GDB_MULTI_ARCH
> > + #error "FLOAT_INFO defined in multi-arch"
>
>
> Suggest #if GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL
But surely a multi-arch (even a partial multi-arch) should be using the
new function, not the old one. I thought it was ok to be using
legacy-style definitions of multi-arch macros, but not to be using
deprecated ones (hence the error). If that is incorrect of course, I can
easily change it as you suggest.
> Sorry, didn't notice. Suggest PRINT_FLOAT_INFO.
Sure.
R.