diff options
author | Michael Snyder <msnyder@vmware.com> | 2010-05-17 22:21:43 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2010-05-17 22:21:43 +0000 |
commit | 1c5313c5c81121a5fcec2f3344012ff5a86d8e8f (patch) | |
tree | ad2c3927e02f498b644436d7e172d1243fb18f84 /gdb/tui/tui-win.c | |
parent | f4a14ae60d33ac392ac74c54da1ef10bb293adef (diff) | |
download | gdb-1c5313c5c81121a5fcec2f3344012ff5a86d8e8f.zip gdb-1c5313c5c81121a5fcec2f3344012ff5a86d8e8f.tar.gz gdb-1c5313c5c81121a5fcec2f3344012ff5a86d8e8f.tar.bz2 |
2010-05-17 Michael Snyder <msnyder@vmware.com>
* tui/tui.c: White space.
* tui/tui-data.c: White space.
* tui/tui-disasm.c: White space.
* tui/tui-file.c: White space.
* tui/tui-interp.c: White space.
* tui/tui-main.c: White space.
* tui/tui-out.c: White space.
* tui/tui-regs.c: White space.
* tui/tui-source.c: White space.
* tui/tui-stack.c: White space.
* tui/tui-win.c: White space.
* tui/tui-winsource.c: White space.
Diffstat (limited to 'gdb/tui/tui-win.c')
-rw-r--r-- | gdb/tui/tui-win.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c index 50e054e..d7d5e39 100644 --- a/gdb/tui/tui-win.c +++ b/gdb/tui/tui-win.c @@ -827,6 +827,7 @@ tui_initialize_win (void) #ifdef SIGWINCH #ifdef HAVE_SIGACTION struct sigaction old_winch; + memset (&old_winch, 0, sizeof (old_winch)); old_winch.sa_handler = &tui_sigwinch_handler; sigaction (SIGWINCH, &old_winch, NULL); @@ -1241,6 +1242,7 @@ tui_adjust_win_heights (struct tui_win_info *primary_win_info, if ((TUI_CMD_WIN->generic.height + diff) < 1) { int i; + for (i = TUI_CMD_WIN->generic.height + diff; (i < 1); i++) if (primary_win_info == first_win) |