diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-01-20 18:31:29 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-01-20 18:31:29 +0000 |
commit | 7b6b9e83ffd92aba8030e75a05b66fa490ad9624 (patch) | |
tree | fab06346539ce4538311051da358e6c809e4252a /gdb/arch-utils.c | |
parent | 6e81a11699e7dc8e046bf54ae46db2d0c5b15bb7 (diff) | |
download | gdb-7b6b9e83ffd92aba8030e75a05b66fa490ad9624.zip gdb-7b6b9e83ffd92aba8030e75a05b66fa490ad9624.tar.gz gdb-7b6b9e83ffd92aba8030e75a05b66fa490ad9624.tar.bz2 |
* arch-utils.c (show_endian): Correct reversed condition.
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r-- | gdb/arch-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
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")); |