diff options
author | Yao Qi <yao@codesourcery.com> | 2012-10-23 06:20:49 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-10-23 06:20:49 +0000 |
commit | f6fbab7d1b396b1ee576937b53bb0858c8f895d5 (patch) | |
tree | 6c201582a0dd9df3fa821ea1afe6c1560c099bd7 /gdb/event-top.c | |
parent | 05fa925168007d8996d78cf832c06bf65f70c8d9 (diff) | |
download | gdb-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/event-top.c')
-rw-r--r-- | gdb/event-top.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/gdb/event-top.c b/gdb/event-top.c index 1e0626a..5c533e4 100644 --- a/gdb/event-top.c +++ b/gdb/event-top.c @@ -770,12 +770,6 @@ async_init_signals (void) } -void -mark_async_signal_handler_wrapper (void *token) -{ - mark_async_signal_handler ((struct async_signal_handler *) token); -} - /* Tell the event loop what to do if SIGINT is received. See event-signal.c. */ void @@ -829,7 +823,7 @@ async_request_quit (gdb_client_data arg) static void handle_sigquit (int sig) { - mark_async_signal_handler_wrapper (sigquit_token); + mark_async_signal_handler (sigquit_token); signal (sig, handle_sigquit); } #endif @@ -850,7 +844,7 @@ async_do_nothing (gdb_client_data arg) static void handle_sighup (int sig) { - mark_async_signal_handler_wrapper (sighup_token); + mark_async_signal_handler (sighup_token); signal (sig, handle_sighup); } @@ -886,7 +880,7 @@ async_disconnect (gdb_client_data arg) void handle_stop_sig (int sig) { - mark_async_signal_handler_wrapper (sigtstp_token); + mark_async_signal_handler (sigtstp_token); signal (sig, handle_stop_sig); } @@ -926,7 +920,7 @@ async_stop_sig (gdb_client_data arg) static void handle_sigfpe (int sig) { - mark_async_signal_handler_wrapper (sigfpe_token); + mark_async_signal_handler (sigfpe_token); signal (sig, handle_sigfpe); } |