2001-12-16 Andrew Cagney * 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;