]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/remote-z8k.c
* target.h: Add enum target_waitkind, enum target_signal, and
[thirdparty/binutils-gdb.git] / gdb / remote-z8k.c
index 9dea12fafaf175b91b161f5aaf7de8779d4e086f..5ff6e821251f5249fe15ee92cad6e87dd1e9e016 100644 (file)
@@ -209,6 +209,7 @@ sim_detach (args, from_tty)
 /* Wait until the remote machine stops, then return,
    storing status in STATUS just as `wait' would.  */
 #if 0
+/* See remote-sim.c for how this is done now.  */
 int
 sim_wait (pid, status)
      int pid;
@@ -316,9 +317,9 @@ static void
 rem_resume (pid, a, b)
      int pid;
      int a;
-     int b;
+     enum target_signal siggnal;
 {
-  sim_resume (a, b);
+  sim_resume (a, target_signal_to_host (siggnal));
 }