gdb/gdbserver/
* server.c (handle_target_event): Use target_signal_to_host for resume_info.sig initialization. * target.h (struct thread_resume) <sig>: New comment.
This commit is contained in:
parent
857d11d04f
commit
30d5032895
|
@ -1,3 +1,9 @@
|
|||
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()
|
||||
|
|
|
@ -3147,7 +3147,7 @@ handle_target_event (int err, gdb_client_data client_data)
|
|||
|
||||
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)
|
||||
|
|
|
@ -53,7 +53,8 @@ struct thread_resume
|
|||
/* 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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue