mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
Only pass endianess to simulator when explicitly set by user with set
endian. Prepend endian argument so that it can be overriden with target sim -ARGS.
This commit is contained in:
@@ -3126,7 +3126,7 @@ dont_repeat_command (ignored, from_tty)
|
||||
#define TARGET_BYTE_ORDER_DEFAULT BIG_ENDIAN
|
||||
#endif
|
||||
int target_byte_order = TARGET_BYTE_ORDER_DEFAULT;
|
||||
static int target_byte_order_auto = 1;
|
||||
int target_byte_order_auto = 1;
|
||||
#else
|
||||
static int target_byte_order_auto = 0;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user