aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorPatrick Palka <patrick@parcs.ath.cx>2015-04-23 19:28:32 -0400
committerPatrick Palka <patrick@parcs.ath.cx>2015-04-28 08:51:03 -0400
commit24b73f8e74857245c0a7ea07c2a360237abcdfc0 (patch)
tree99fdcee11882168c8b0ff5c947c3b8fa1705b62f /gdb/top.c
parenta88d0bb33c28bc51c0f53cdd5c42d00217a1d771 (diff)
downloadgdb-24b73f8e74857245c0a7ea07c2a360237abcdfc0.zip
gdb-24b73f8e74857245c0a7ea07c2a360237abcdfc0.tar.gz
gdb-24b73f8e74857245c0a7ea07c2a360237abcdfc0.tar.bz2
Disable readline's SIGWINCH handler
We no longer need it as we handle SIGWINCH ourselves. Also move the call to init_page_info() from initialize_utils() to the latter function's only caller, gdb_init(). gdb/ChangeLog: * utils.c (init_page_info): Set rl_catch_sigwinch to zero. (initialize_utils): Move call of init_page_info() to ... * top.c (gdb_init): ... here.
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/top.c b/gdb/top.c
index 647d9fb..ddf5415 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -1939,6 +1939,8 @@ gdb_init (char *argv0)
initialize_targets (); /* Setup target_terminal macros for utils.c. */
initialize_utils (); /* Make errors and warnings possible. */
+ init_page_info ();
+
/* Here is where we call all the _initialize_foo routines. */
initialize_all_files ();