aboutsummaryrefslogtreecommitdiff
path: root/gdb/event-top.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-08-22 17:31:45 +0000
committerTom Tromey <tromey@redhat.com>2012-08-22 17:31:45 +0000
commitb583003e103cc0a55ff90a414045a3f647ab1a6e (patch)
treed96a9615779b9e4b6dc669f1c79bde5e1a2bd3a5 /gdb/event-top.c
parente1507e953ec06f50f83f0bbc2b50a7f3b11f4022 (diff)
downloadgdb-b583003e103cc0a55ff90a414045a3f647ab1a6e.zip
gdb-b583003e103cc0a55ff90a414045a3f647ab1a6e.tar.gz
gdb-b583003e103cc0a55ff90a414045a3f647ab1a6e.tar.bz2
* event-top.c (sigwinch_token, handle_sigwinch): Remove.
(async_init_signals): Update. * utils.c (init_page_info): Don't use SIGWINCH_HANDLER. (SIGWINCH_HANDLER_BODY): Remove. gdb/doc * gdbint.texinfo (Host Definition): Remove documentation for SIGWINCH_HANDLER and SIGWINCH_HANDLER_BODY.
Diffstat (limited to 'gdb/event-top.c')
-rw-r--r--gdb/event-top.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/gdb/event-top.c b/gdb/event-top.c
index 52e7852..b4a6790 100644
--- a/gdb/event-top.c
+++ b/gdb/event-top.c
@@ -58,9 +58,6 @@ static void handle_sigquit (int sig);
static void handle_sighup (int sig);
#endif
static void handle_sigfpe (int sig);
-#if defined(SIGWINCH) && defined(SIGWINCH_HANDLER)
-static void handle_sigwinch (int sig);
-#endif
/* Functions to be invoked by the event loop in response to
signals. */
@@ -134,9 +131,6 @@ void *sighup_token;
void *sigquit_token;
#endif
void *sigfpe_token;
-#if defined(SIGWINCH) && defined(SIGWINCH_HANDLER)
-void *sigwinch_token;
-#endif
#ifdef STOP_SIGNAL
void *sigtstp_token;
#endif
@@ -769,11 +763,6 @@ async_init_signals (void)
sigfpe_token =
create_async_signal_handler (async_float_handler, NULL);
-#if defined(SIGWINCH) && defined(SIGWINCH_HANDLER)
- signal (SIGWINCH, handle_sigwinch);
- sigwinch_token =
- create_async_signal_handler (SIGWINCH_HANDLER, NULL);
-#endif
#ifdef STOP_SIGNAL
sigtstp_token =
create_async_signal_handler (async_stop_sig, NULL);
@@ -950,17 +939,6 @@ async_float_handler (gdb_client_data arg)
divide by zero causes this, so "float" is a misnomer. */
error (_("Erroneous arithmetic operation."));
}
-
-/* Tell the event loop what to do if SIGWINCH is received.
- See event-signal.c. */
-#if defined(SIGWINCH) && defined(SIGWINCH_HANDLER)
-static void
-handle_sigwinch (int sig)
-{
- mark_async_signal_handler_wrapper (sigwinch_token);
- signal (sig, handle_sigwinch);
-}
-#endif
/* Called by do_setshow_command. */