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 | |
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')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/arch-utils.c | 2 |
2 files changed, 5 insertions, 1 deletions
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 <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. 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")); |