print_percentage: Use floating point to avoid incorrect results when
[deliverable/binutils-gdb.git] / gdb / remote-rdp.c
index 6cbf73cbe8a428fa130ff42f78c353fdf7945fa2..2db0a910d83c3de6874306ca3874e1c4e526d325 100644 (file)
@@ -1,7 +1,7 @@
 /* Remote debugging for the ARM RDP interface.
 
-   Copyright 1994, 1995, 1998, 1999, 2000, 2001, 2002 Free Software
-   Foundation, Inc.
+   Copyright 1994, 1995, 1998, 1999, 2000, 2001, 2002, 2003 Free
+   Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -352,11 +352,29 @@ rdp_init (int cold, int tty)
                  case SERIAL_TIMEOUT:
                    break;
                  case RDP_RES_VALUE_LITTLE_ENDIAN:
+#if 0
+                   /* FIXME: cagney/2003-11-22: Ever since the ARM
+                       was multi-arched (in 2002-02-08), this
+                       assignment has had no effect.  There needs to
+                       be some sort of check/decision based on the
+                       current architecture's byte-order vs the remote
+                       target's byte order.  For the moment disable
+                       the assignment to keep things building.  */
                    target_byte_order = BFD_ENDIAN_LITTLE;
+#endif
                    sync = 1;
                    break;
                  case RDP_RES_VALUE_BIG_ENDIAN:
+#if 0
+                   /* FIXME: cagney/2003-11-22: Ever since the ARM
+                       was multi-arched (in 2002-02-08), this
+                       assignment has had no effect.  There needs to
+                       be some sort of check/decision based on the
+                       current architecture's byte-order vs the remote
+                       target's byte order.  For the moment disable
+                       the assignment to keep things building.  */
                    target_byte_order = BFD_ENDIAN_BIG;
+#endif
                    sync = 1;
                    break;
                  default:
This page took 0.024867 seconds and 4 git commands to generate.