diff options
author | Tom Tromey <tom@tromey.com> | 2019-07-23 16:43:20 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-09-20 13:49:05 -0600 |
commit | 71a25ed2e77fd72e01d38aa84f5a0fbe5f081474 (patch) | |
tree | 423c0557ab025c8ea8ba0acc0891588cd1d306d7 /gdb/ChangeLog | |
parent | f85321544357a44a824d9d31fd57ed4d3aae1a4a (diff) | |
download | gdb-71a25ed2e77fd72e01d38aa84f5a0fbe5f081474.zip gdb-71a25ed2e77fd72e01d38aa84f5a0fbe5f081474.tar.gz gdb-71a25ed2e77fd72e01d38aa84f5a0fbe5f081474.tar.bz2 |
Change tui_make_status_line to be a method
This changes tui_make_status_line to be a method on
tui_locator_window. This is a minor cleanup.
This also changes the new method to use the locator's width, rather
than the terminal width. This is important if we ever want to allow
windows to be made more narrow.
gdb/ChangeLog
2019-09-20 Tom Tromey <tom@tromey.com>
* tui/tui-stack.h (struct tui_locator_window) <make_status_line>:
Declare.
* tui/tui-stack.c (tui_locator_window::make_status_line): Rename
from tui_make_status_line.
(tui_locator_window::rerender): Update.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 862748e..b6a1534 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,13 @@ 2019-09-20 Tom Tromey <tom@tromey.com> + * tui/tui-stack.h (struct tui_locator_window) <make_status_line>: + Declare. + * tui/tui-stack.c (tui_locator_window::make_status_line): Rename + from tui_make_status_line. + (tui_locator_window::rerender): Update. + +2019-09-20 Tom Tromey <tom@tromey.com> + * tui/tui-stack.c (tui_make_status_line): Return std::string. (tui_locator_window::rerender): Update. |