This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]