aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-10-07 16:33:35 +0000
committerIan Lance Taylor <ian@airs.com>1994-10-07 16:33:35 +0000
commit688427fb38f16dceb4c3673b4f4e5a0d818d20e8 (patch)
treea0df0392d8fa6162a67f8c8a1de3adb9f3f4f86e /gdb
parentb83ed0195247c47e3474449297653a4144c3e55d (diff)
downloadgdb-688427fb38f16dceb4c3673b4f4e5a0d818d20e8.zip
gdb-688427fb38f16dceb4c3673b4f4e5a0d818d20e8.tar.gz
gdb-688427fb38f16dceb4c3673b4f4e5a0d818d20e8.tar.bz2
whoops
Diffstat (limited to 'gdb')
-rw-r--r--gdb/top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/top.c b/gdb/top.c
index 8744c48..bf185b4 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -2737,7 +2737,7 @@ set_endian_from_file (abfd)
? TARGET_BYTE_ORDER != BIG_ENDIAN
: TARGET_BYTE_ORDER == BIG_ENDIAN)
warning ("%s endian file does not match %s endian target.",
- want == BIG_ENDIAN ? "big" : "little",
+ abfd->xvec->byteorder_big_p ? "big" : "little",
TARGET_BYTE_ORDER == BIG_ENDIAN ? "big" : "little");
#endif /* ! defined (TARGET_BYTE_ORDER_SELECTABLE) */