Set default LANGUAGE to english/us.
[deliverable/binutils-gdb.git] / gdb / remote-sim.c
index 71af0742bef525cbbb962366641174c0b885ec7a..1d037c8fa79d777e410be702fd57a9b04447c8a9 100644 (file)
@@ -1,6 +1,8 @@
 /* Generic remote debugging interface for simulators.
-   Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
-   Free Software Foundation, Inc.
+
+   Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
+   2002 Free Software Foundation, Inc.
+
    Contributed by Cygnus Support.
    Steve Chamberlain (sac@cygnus.com).
 
@@ -472,15 +474,14 @@ gdbsim_open (char *args, int from_tty)
   strcpy (arg_buf, "gdbsim");  /* 7 */
   /* Specify the byte order for the target when it is both selectable
      and explicitly specified by the user (not auto detected). */
-  if (TARGET_BYTE_ORDER_SELECTABLE_P
-      && !TARGET_BYTE_ORDER_AUTO)
+  if (!TARGET_BYTE_ORDER_AUTO)
     {
       switch (TARGET_BYTE_ORDER)
        {
-       case BIG_ENDIAN:
+       case BFD_ENDIAN_BIG:
          strcat (arg_buf, " -E big");
          break;
-       case LITTLE_ENDIAN:
+       case BFD_ENDIAN_LITTLE:
          strcat (arg_buf, " -E little");
          break;
        default:
@@ -611,7 +612,6 @@ gdb_os_poll_quit (host_callback *p)
   if (ui_loop_hook != NULL)
     ui_loop_hook (0);
 
-  notice_quit ();
   if (quit_flag)               /* gdb's idea of quit */
     {
       quit_flag = 0;           /* we've stolen it */
@@ -720,9 +720,8 @@ gdbsim_prepare_to_store (void)
 
 static int
 gdbsim_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len,
-                            int write, 
-                            struct mem_attrib *attrib ATTRIBUTE_UNUSED,
-                            struct target_ops *target ATTRIBUTE_UNUSED)
+                            int write, struct mem_attrib *attrib,
+                            struct target_ops *target)
 {
   if (!program_loaded)
     error ("No program loaded.");
This page took 0.024059 seconds and 4 git commands to generate.