Support 68HC12 arch in Gdb
[deliverable/binutils-gdb.git] / gdb / remote-sim.c
index c992e9ac2e80599cfe7251ae3c3112f4c5a3ceb8..8b03b889cefd8b2a37f534a6fc495be4a8017148 100644 (file)
@@ -270,10 +270,6 @@ gdb_os_error (host_callback * p, const char *format,...)
     }
 }
 
-#ifndef REGISTER_SIM_REGNO
-#define REGISTER_SIM_REGNO(N) (N)
-#endif
-
 static void
 gdbsim_fetch_register (int regno)
 {
@@ -710,13 +706,15 @@ gdbsim_prepare_to_store (void)
   /* Do nothing, since we can store individual regs */
 }
 
+/* Transfer LEN bytes between GDB address MYADDR and target address
+   MEMADDR.  If WRITE is non-zero, transfer them to the target,
+   otherwise transfer them from the target.  TARGET is unused.
+
+   Returns the number of bytes transferred. */
+
 static int
-gdbsim_xfer_inferior_memory (memaddr, myaddr, len, write, target)
-     CORE_ADDR memaddr;
-     char *myaddr;
-     int len;
-     int write;
-     struct target_ops *target;        /* ignored */
+gdbsim_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len,
+                            int write, struct target_ops *target)
 {
   if (!program_loaded)
     error ("No program loaded.");
This page took 0.023672 seconds and 4 git commands to generate.