This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
[patch] missed a LITTLE_ENDIAN -> BFD_ENDIAN_LITTLE
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: insight at sources dot redhat dot com
- Date: Sun, 16 Dec 2001 15:49:38 -0500
- Subject: [patch] missed a LITTLE_ENDIAN -> BFD_ENDIAN_LITTLE
I missed this one :-(
Andrew
2001-12-16 Andrew Cagney <ac131313@redhat.com>
* generic/gdbtk-cmds.c (hex2bin): Replace LITTLE_ENDIAN with
BFD_ENDIAN_LITTLE.
Index: generic/gdbtk-cmds.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-cmds.c,v
retrieving revision 1.44
diff -p -r1.44 gdbtk-cmds.c
*** gdbtk-cmds.c 2001/11/19 18:43:18 1.44
--- gdbtk-cmds.c 2001/12/16 20:47:21
*************** hex2bin (const char *hex, char *bin, int
*** 2477,2483 ****
int incr = 2;
! if (TARGET_BYTE_ORDER == LITTLE_ENDIAN)
{
/* need to read string in reverse */
hex += count - 2;
--- 2477,2483 ----
int incr = 2;
! if (TARGET_BYTE_ORDER == BFD_ENDIAN_LITTLE)
{
/* need to read string in reverse */
hex += count - 2;