summaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorqiyao <qiyao>2012-10-23 06:20:45 +0000
committerqiyao <qiyao>2012-10-23 06:20:45 +0000
commitbd9917ad0699d50eee004326fe2c1f9ceb92045f (patch)
treeaec9abc3f63c035078c6f3975d03d40b51ff7300 /gdb/remote.c
parent0a6d4b0fca4b836b2d724b0f1c31dc0675f7e9c9 (diff)
downloadgdb-bd9917ad0699d50eee004326fe2c1f9ceb92045f.tar.gz
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 1750bee07eb..14c5dfd59e2 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