diff options
author | Tom Tromey <tom@tromey.com> | 2019-06-28 22:57:37 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-07-17 12:19:09 -0600 |
commit | f6cc34a91c173634b6afcc1a48601a601fbace37 (patch) | |
tree | d51716dd73d98e559ee25e28d09da77908cf0b0d /gdb/gdb_regex.h | |
parent | f31ec9af48578adb0baf8db3e10da871d6ee3eca (diff) | |
download | gdb-f6cc34a91c173634b6afcc1a48601a601fbace37.zip gdb-f6cc34a91c173634b6afcc1a48601a601fbace37.tar.gz gdb-f6cc34a91c173634b6afcc1a48601a601fbace37.tar.bz2 |
Remove tui_source_window::content_in_use
Now that source window clearing has been simplified, we don't need a
special flag to say whether the source window is in use -- we can
simply check whether the contents are set. This patch implements this
idea, removing the content_in_use field.
gdb/ChangeLog
2019-07-17 Tom Tromey <tom@tromey.com>
* tui/tui-winsource.c (tui_clear_source_content)
(tui_show_source_content): Update.
* tui/tui-source.c (tui_source_window::showing_source_p): Check
whether content is empty.
* tui/tui-data.h (struct tui_source_window_base) <content_in_use>:
Remove.
Diffstat (limited to 'gdb/gdb_regex.h')
0 files changed, 0 insertions, 0 deletions