Multi-arching FLOAT_INFO

Richard Earnshaw rearnsha@arm.com
Tue Feb 5 07:57:00 GMT 2002


> > + 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.



More information about the Gdb mailing list