diff options
author | Tom Tromey <tom@tromey.com> | 2019-07-23 17:16:56 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-09-20 13:49:06 -0600 |
commit | 2ad52f6fb3daecd928605384fcaa45ad43178b4e (patch) | |
tree | 3127b779a3fa1c77b78feaa739523da5bcb65bd4 /gdb/ChangeLog | |
parent | b3b1bde658c97fbccc1e49b79cc45e434591533e (diff) | |
download | gdb-2ad52f6fb3daecd928605384fcaa45ad43178b4e.zip gdb-2ad52f6fb3daecd928605384fcaa45ad43178b4e.tar.gz gdb-2ad52f6fb3daecd928605384fcaa45ad43178b4e.tar.bz2 |
Simplify tui_source_window_base::show_source_content
tui_source_window_base::show_source_content is not used outside the
class any more, so this makes it private. Examining the callers shows
that it can't be called without source contents, so it can be
simplified as well.
gdb/ChangeLog
2019-09-20 Tom Tromey <tom@tromey.com>
* tui/tui-winsource.h (struct tui_source_window_base)
<show_source_content>: Now private.
* tui/tui-winsource.c
(tui_source_window_base::show_source_content): Don't handle empty
content case.
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 7e4fa87..b634e52 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,13 @@ 2019-09-20 Tom Tromey <tom@tromey.com> + * tui/tui-winsource.h (struct tui_source_window_base) + <show_source_content>: Now private. + * tui/tui-winsource.c + (tui_source_window_base::show_source_content): Don't handle empty + content case. + +2019-09-20 Tom Tromey <tom@tromey.com> + * tui/tui-layout.c (show_source_disasm_command) (show_source_or_disasm_and_command): Don't call show_source_content. |