summaryrefslogtreecommitdiffstats
path: root/gdb/remote-sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-sim.c')
-rw-r--r--gdb/remote-sim.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index dbae403f8d..1d037c8fa7 100644
--- a/gdb/remote-sim.c
+++ b/gdb/remote-sim.c
@@ -474,8 +474,7 @@ gdbsim_open (char *args, int from_tty)
strcpy (arg_buf, "gdbsim"); /* 7 */
/* Specify the byte order for the target when it is both selectable
and explicitly specified by the user (not auto detected). */
- if (TARGET_BYTE_ORDER_SELECTABLE_P
- && !TARGET_BYTE_ORDER_AUTO)
+ if (!TARGET_BYTE_ORDER_AUTO)
{
switch (TARGET_BYTE_ORDER)
{
OpenPOWER on IntegriCloud