* arch-utils.c (show_endian): Correct reversed condition.
authorDaniel Jacobowitz <drow@false.org>
Sat, 20 Jan 2007 18:31:29 +0000 (18:31 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sat, 20 Jan 2007 18:31:29 +0000 (18:31 +0000)
gdb/ChangeLog
gdb/arch-utils.c

index 6d4a8fcd5af317a462e6e951067affde1e64f928..c929f4435f99fb3ede251375df13c8a98f23b101 100644 (file)
@@ -1,3 +1,7 @@
+2007-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * arch-utils.c (show_endian): Correct reversed condition.
+
 2007-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * MAINTAINERS (Write After Approval): Add myself.
index bd8abeae4f63cd6634def3be9a255dc97fa4e36a..386425014d00b4521f360a07ab3b7ff12e72e66d 100644 (file)
@@ -322,7 +322,7 @@ static void
 show_endian (struct ui_file *file, int from_tty, struct cmd_list_element *c,
             const char *value)
 {
-  if (target_byte_order_user != BFD_ENDIAN_UNKNOWN)
+  if (target_byte_order_user == BFD_ENDIAN_UNKNOWN)
     if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG)
       fprintf_unfiltered (file, _("The target endianness is set automatically "
                                  "(currently big endian)\n"));
This page took 0.02703 seconds and 4 git commands to generate.