[PATCH]: Fix gdb window size when entering/leaving TUI mode

Stephane Carrez stcarrez@nerim.fr
Sat Aug 24 10:06:00 GMT 2002


Hi!

When we enter/leave TUI mode the gdb's lines_per_page is not changed.
This patch fixes that by telling gdb what is the new width/height
of windows when we enter/leave TUI mode.

Committed on mainline.

	Stephane

2002-08-24  Stephane Carrez  <stcarrez@nerim.fr>

	* tuiWin.c (tui_update_gdb_sizes): New function to tell gdb what
	is the size of command window.
	(tuiResizeAll): Call it instead of init_page_info.
	* tui.c (tui_enable): Call it to resize to TUI command window.
	(tui_disable): Likewise for plain screen.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tui-fix-sizes.diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20020824/314633a1/attachment.ksh>


More information about the Gdb-patches mailing list