[patch/rfc] Replace global *AUTO* with functions

Andrew Cagney ac131313@redhat.com
Tue Nov 11 23:59:00 GMT 2003


This eliminates the global macros/variables:

-#define TARGET_BYTE_ORDER_AUTO (target_byte_order_auto + 0)
-#define TARGET_ARCHITECTURE_AUTO (target_architecture_auto + 0)

along with the non-multiarch global variables:

-extern int target_byte_order;
-extern const struct bfd_arch_info *target_architecture;

(don't be fooled by the patch, TARGET_ARCHITECTURE and TARGET_BYTE_ORDER 
still get defined elsewhere).

I've replaced the auto macros with corresponding functions.  Only SIM 
uses them, so that's updated.

I'll commit in a day or so,
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20031111/a326fa67/attachment.ksh>

More information about the Gdb-patches mailing list