* server.c (handle_target_event): Use target_signal_to_host for
resume_info.sig initialization.
* target.h (struct thread_resume) <sig>: New comment.
+2010-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * server.c (handle_target_event): Use target_signal_to_host for
+ resume_info.sig initialization.
+ * target.h (struct thread_resume) <sig>: New comment.
+
2010-07-20 Ozkan Sezer <sezeroz@gmail.com>
* server.c (handle_query): strcpy() the returned string from paddress()
resume_info.thread = last_ptid;
resume_info.kind = resume_continue;
- resume_info.sig = last_status.value.sig;
+ resume_info.sig = target_signal_to_host (last_status.value.sig);
(*the_target->resume) (&resume_info, 1);
}
else if (debug_threads)
/* If non-zero, send this signal when we resume, or to stop the
thread. If stopping a thread, and this is 0, the target should
stop the thread however it best decides to (e.g., SIGSTOP on
- linux; SuspendThread on win32). */
+ linux; SuspendThread on win32). This is a host signal value (not
+ enum target_signal). */
int sig;
};