* exec.c (xfer_memory): Add attrib argument.
[deliverable/binutils-gdb.git] / gdb / gnu-nat.c
index ff56ffc8311aa9e6bb3002b507cd0e9fb25b69a0..cceef39fac7e9446cf10c690b696728593afa4a3 100644 (file)
@@ -627,7 +627,7 @@ _proc_free (struct proc *proc)
       mach_port_deallocate (mach_task_self (), proc->port);
     }
 
-  free (proc);
+  xfree (proc);
   return next;
 }
 
@@ -1659,13 +1659,13 @@ S_exception_raise_request (mach_port_t port, mach_port_t reply_port,
        {
          if (thread->exc_port == port)
            {
-             inf_debug (waiting_inf, "Handler is thread exeption port <%d>",
+             inf_debug (waiting_inf, "Handler is thread exception port <%d>",
                         thread->saved_exc_port);
              inf->wait.exc.handler = thread->saved_exc_port;
            }
          else
            {
-             inf_debug (waiting_inf, "Handler is task exeption port <%d>",
+             inf_debug (waiting_inf, "Handler is task exception port <%d>",
                         inf->task->saved_exc_port);
              inf->wait.exc.handler = inf->task->saved_exc_port;
              assert (inf->task->exc_port == port);
@@ -2442,14 +2442,11 @@ out:
 }
 
 \f
-/* Return 0 on failure, number of bytes handled otherwise.  */
+/* Return 0 on failure, number of bytes handled otherwise.  TARGET
+   is ignored. */
 static int
-gnu_xfer_memory (memaddr, myaddr, len, write, target)
-     CORE_ADDR memaddr;
-     char *myaddr;
-     int len;
-     int write;
-     struct target_ops *target;        /* IGNORED */
+gnu_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
+                struct target_ops *target)
 {
   task_t task = (current_inferior
                 ? (current_inferior->task
This page took 0.023512 seconds and 4 git commands to generate.