BITS_BIG_ENDIAN

Andrew Cagney ac131313@cygnus.com
Tue Apr 30 18:22:00 GMT 2002


> Nobody overrides this anymore, so would it be ok to delete
> the "#if !defined(BITS_BIG_ENDIAN)" test in gdb/defs.h
> and update the documentation not to mention it as a target
> macro anymore?
> 
> If someone new port in the future needs to specify this again
> we can add it back in, and cleanly using multi-arch instead of
> the macro.

Hmm, looking at the code, and thinking about PPC vs MIPS, I think the 
lack of a definition of this macro is an indication of a number of bugs 
in GDB and not the lack of need of the macro, sigh.

Andrew



More information about the Gdb mailing list