From: Ian Lance Taylor Date: Fri, 7 Oct 1994 16:33:35 +0000 (+0000) Subject: whoops X-Git-Tag: gdb-4_18-branchpoint~13341 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=688427fb38f16dceb4c3673b4f4e5a0d818d20e8;p=thirdparty%2Fbinutils-gdb.git whoops --- diff --git a/gdb/top.c b/gdb/top.c index 8744c4848c0..bf185b46343 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) */