Introduce function for directly updating GDB's screen dimensions
authorPatrick Palka <patrick@parcs.ath.cx>
Thu, 23 Apr 2015 22:31:38 +0000 (18:31 -0400)
committerPatrick Palka <patrick@parcs.ath.cx>
Tue, 28 Apr 2015 12:46:28 +0000 (08:46 -0400)
commitd6e5e7f7fd90baad9cbfaa5a187b5f0b1a0b8cf6
tree47a4511a2f7106e5e3ce6e2fa7766aed2e6c45f4
parentff862be47e7acf51e4abaf0f121d5961adb1845a
Introduce function for directly updating GDB's screen dimensions

... to replace the roundabout pattern of

  execute_command ("set width %d");
  execute_command ("set height %d");

for doing the same thing.

gdb/ChangeLog:

* utils.h (set_screen_width_and_height): Declare.
* utils.c (set_screen_width_and_height): Define.
* tui/tui-win.c (tui_update_gdb_sizes): Use it.
gdb/ChangeLog
gdb/tui/tui-win.c
gdb/utils.c
gdb/utils.h
This page took 0.027021 seconds and 4 git commands to generate.