From: Daniel Jacobowitz Date: Sat, 20 Jan 2007 18:31:29 +0000 (+0000) Subject: * arch-utils.c (show_endian): Correct reversed condition. X-Git-Tag: drow-reverse-20070409-branchpoint~744 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b6b9e83ffd92aba8030e75a05b66fa490ad9624;p=external%2Fbinutils.git * arch-utils.c (show_endian): Correct reversed condition. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6d4a8fc..c929f44 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2007-01-20 Daniel Jacobowitz + + * arch-utils.c (show_endian): Correct reversed condition. + 2007-01-19 Jan Kratochvil * MAINTAINERS (Write After Approval): Add myself. diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index bd8abea..3864250 100644 --- a/gdb/arch-utils.c +++ b/gdb/arch-utils.c @@ -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"));