aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/server.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-07-25 10:15:54 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2010-07-25 10:15:54 +0000
commit30d5032895e63800c5088101fb662b6b293e224a (patch)
tree64af2a830143e09991efe04b981a06046af35d66 /gdb/gdbserver/server.c
parent857d11d04f4da0befb66d98a7a7b7c98ad4c92e5 (diff)
downloadgdb-30d5032895e63800c5088101fb662b6b293e224a.zip
gdb-30d5032895e63800c5088101fb662b6b293e224a.tar.gz
gdb-30d5032895e63800c5088101fb662b6b293e224a.tar.bz2
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.
Diffstat (limited to 'gdb/gdbserver/server.c')
-rw-r--r--gdb/gdbserver/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c
index 29b6cdc..22f25c5 100644
--- a/gdb/gdbserver/server.c
+++ b/gdb/gdbserver/server.c
@@ -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)