[PATCHv3 00/15] TUI changes, new winwidth command and resizing changes

Andrew Burgess aburgess@redhat.com
Mon Mar 7 22:13:32 GMT 2022


Since v2:

  - Rebased onto current upstream/master,

  - Patch #5 - Rewritten to not use templates!

  - Patch #6 - Added a bug in bugzilla, and referenced this from the
    commit message,

  - Patch #7 - Renamed the existing methods rather than adding 2 new
    methods,

  - Patch #10 - Updated the comment Tom identified as being out of
    date,

  - Patch #15 - Have updated a comment that I spotted was out of date.

Thanks,
Andrew


---

Andrew Burgess (15):
  gdb: move some commands into the tui namespace
  gdb/tui: rename tui_layout_base::adjust_size to ::set_height
  gdb/tui: rename tui_layout_split:set_weights_from_heights
  gdb/testing/tui: add new functionality to tuiterm.exp
  gdb/tui: add new 'tui window width' command and 'winwidth' alias
  gdb/tui: add a tui debugging flag
  gdb/tui: add left_boxed_p and right_boxed_p member functions
  gdb/tui/testsuite: refactor new-layout.exp test
  gdb/tui: avoid fp exception when applying layouts
  gdb/tui: fairer distribution of excess space during apply
  gdb/tui: allow cmd window to change size in tui_layout_split::apply
  gdb/tui: support placing the cmd window into a horizontal layout
  gdb/testsuite: some additional tests in gdb.tui/scroll.exp
  gdb/tui: relax restrictions on window max height and width
  gdb/tui: fair split of delta after a resize

 gdb/NEWS                             |  25 ++
 gdb/doc/gdb.texinfo                  |  51 +++-
 gdb/testsuite/gdb.tui/basic.exp      |   4 +-
 gdb/testsuite/gdb.tui/empty.exp      |  14 +-
 gdb/testsuite/gdb.tui/new-layout.exp | 100 +++++--
 gdb/testsuite/gdb.tui/regs.exp       |   4 +-
 gdb/testsuite/gdb.tui/scroll.exp     |   4 +
 gdb/testsuite/gdb.tui/winheight.exp  |  77 +++++
 gdb/testsuite/gdb.tui/winwidth.exp   |  63 +++++
 gdb/testsuite/lib/tuiterm.exp        |  82 +++++-
 gdb/tui/tui-command.c                |   6 -
 gdb/tui/tui-command.h                |   2 -
 gdb/tui/tui-layout.c                 | 406 ++++++++++++++++++++++-----
 gdb/tui/tui-layout.h                 | 135 +++++++--
 gdb/tui/tui-win.c                    | 118 ++++++--
 gdb/tui/tui.c                        |  26 ++
 gdb/tui/tui.h                        |  14 +
 17 files changed, 971 insertions(+), 160 deletions(-)
 create mode 100644 gdb/testsuite/gdb.tui/winwidth.exp

-- 
2.25.4



More information about the Gdb-patches mailing list