aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-10-23 06:20:49 +0000
committerYao Qi <yao@codesourcery.com>2012-10-23 06:20:49 +0000
commitf6fbab7d1b396b1ee576937b53bb0858c8f895d5 (patch)
tree6c201582a0dd9df3fa821ea1afe6c1560c099bd7 /gdb/remote.c
parent05fa925168007d8996d78cf832c06bf65f70c8d9 (diff)
downloadgdb-f6fbab7d1b396b1ee576937b53bb0858c8f895d5.zip
gdb-f6fbab7d1b396b1ee576937b53bb0858c8f895d5.tar.gz
gdb-f6fbab7d1b396b1ee576937b53bb0858c8f895d5.tar.bz2
gdb/
* event-top.c (mark_async_signal_handler_wrapper): Remove. * event-top.h: Remove its declaration. (async_request_quit): Call mark_async_signal_handler instead of mark_async_signal_handler_wrapper. (async_do_nothing, async_disconnect): Likewise. (async_stop_sig): Likewise. * remote.c (handle_remote_sigint): Likewise. (handle_remote_sigint_twice): Likewise.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 1750bee..14c5dfd 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -4862,7 +4862,7 @@ static void
handle_remote_sigint (int sig)
{
signal (sig, handle_remote_sigint_twice);
- mark_async_signal_handler_wrapper (sigint_remote_token);
+ mark_async_signal_handler (sigint_remote_token);
}
/* Signal handler for SIGINT, installed after SIGINT has already been
@@ -4872,7 +4872,7 @@ static void
handle_remote_sigint_twice (int sig)
{
signal (sig, handle_remote_sigint);
- mark_async_signal_handler_wrapper (sigint_remote_twice_token);
+ mark_async_signal_handler (sigint_remote_twice_token);
}
/* Perform the real interruption of the target execution, in response