aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2022-01-24 21:25:38 +0000
committerAndrew Burgess <aburgess@redhat.com>2022-02-06 12:29:48 +0000
commitf62843d7513da02f791d88e2d2d0ee9833af5ce0 (patch)
tree2850be1323647e31ada0cd724610706746665ac9 /gdb/NEWS
parent94e57f287f96af6af97dd086e4a04ddf55b7cf60 (diff)
downloadgdb-f62843d7513da02f791d88e2d2d0ee9833af5ce0.zip
gdb-f62843d7513da02f791d88e2d2d0ee9833af5ce0.tar.gz
gdb-f62843d7513da02f791d88e2d2d0ee9833af5ce0.tar.bz2
gdb/tui: add window width information to 'info win' output
Now that we support horizontal window placement in the tui, it makes sense to have 'info win' include the width, as well as the height, of the currently visible windows. That's what this commit does. Example output is now: (gdb) info win Name Lines Columns Focus src 12 40 (has focus) asm 12 41 status 1 80 cmd 11 80 I've added a NEWS entry, but the documentation was already suitably vague, it just says that 'info win' displays the size of the visible windows, so I don't think anything needs to be added there. I've also added some tests, as far as I could find, the 'info win' command was previously untested.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index e190059..8da68c8 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -102,6 +102,10 @@ show debug lin-lwp
debug linux-nat' and 'show debug linux-nat' should be used
instead.
+info win
+ This command now includes information about the width of the tui
+ windows in its output.
+
* Python API
** New function gdb.add_history(), which takes a gdb.Value object