summaryrefslogtreecommitdiffstats
path: root/gdb/main.c
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1992-03-29 22:33:35 +0000
committerPer Bothner <per@bothner.com>1992-03-29 22:33:35 +0000
commit1eeba68641b9b75e2d780759c39a079d8ddda0fc (patch)
tree53b52dab03341261520ae752bb16576121125bfa /gdb/main.c
parentbe78a1301f2ab2bb13177d15326fb1aa3e372bf3 (diff)
downloadppe42-binutils-1eeba68641b9b75e2d780759c39a079d8ddda0fc.tar.gz
ppe42-binutils-1eeba68641b9b75e2d780759c39a079d8ddda0fc.zip
Merged in latest RS6000 diffs from Metin G. Ozisik.
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/main.c b/gdb/main.c
index 8543c3b463..3546525857 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -1216,6 +1216,10 @@ init_signals ()
if (signal (SIGHUP, do_nothing) != SIG_IGN)
signal (SIGHUP, disconnect);
signal (SIGFPE, float_handler);
+
+#if defined(SIGWINCH) && defined(SIGWINCH_HANDLER)
+ signal (SIGWINCH, SIGWINCH_HANDLER);
+#endif
}
/* Read one line from the command input stream `instream'
OpenPOWER on IntegriCloud