diff options
author | Per Bothner <per@bothner.com> | 1992-03-29 22:33:35 +0000 |
---|---|---|
committer | Per Bothner <per@bothner.com> | 1992-03-29 22:33:35 +0000 |
commit | 1eeba68641b9b75e2d780759c39a079d8ddda0fc (patch) | |
tree | 53b52dab03341261520ae752bb16576121125bfa /gdb/utils.c | |
parent | be78a1301f2ab2bb13177d15326fb1aa3e372bf3 (diff) | |
download | gdb-1eeba68641b9b75e2d780759c39a079d8ddda0fc.zip gdb-1eeba68641b9b75e2d780759c39a079d8ddda0fc.tar.gz gdb-1eeba68641b9b75e2d780759c39a079d8ddda0fc.tar.bz2 |
Merged in latest RS6000 diffs from Metin G. Ozisik.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r-- | gdb/utils.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index 24fd9ea..974f2ce 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -1323,6 +1323,12 @@ _initialize_utils () } } +#if defined(SIGWINCH) && defined(SIGWINCH_HANDLER) + + /* If tere is a better way to determine window size, use it. */ + SIGWINCH_HANDLER (); +#endif + /* If the output is not a terminal, don't paginate it. */ if (!ISATTY (stdout)) lines_per_page = UINT_MAX; @@ -1350,3 +1356,9 @@ _initialize_utils () &setprintlist), &showprintlist); } + +/* Machine specific function to handle SIGWINCH signal. */ + +#ifdef SIGWINCH_HANDLER_BODY + SIGWINCH_HANDLER_BODY +#endif |