aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-winsource.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-07-05 17:36:16 -0600
committerTom Tromey <tom@tromey.com>2019-08-13 14:52:09 -0600
commite321e7ce753f27ca9664ca08a8314924b5771d61 (patch)
tree27f9ebf279c8d6a3569fdbdef8e3feffd1cd44fc /gdb/tui/tui-winsource.h
parent8270ac6229ac323fe7dfc1915b3f52d77df6bb9a (diff)
downloadbinutils-e321e7ce753f27ca9664ca08a8314924b5771d61.zip
binutils-e321e7ce753f27ca9664ca08a8314924b5771d61.tar.gz
binutils-e321e7ce753f27ca9664ca08a8314924b5771d61.tar.bz2
Remove tui_erase_exec_info_content
One call to tui_erase_exec_info_content can be removed. This call is not needed because the function in question then immediately sets the execution info window contents. Once this is done, tui_clear_exec_info_content is just a wrapper for the only call to tui_erase_exec_info_content, so tui_erase_exec_info_content can be renamed and the wrapper function removed. gdb/ChangeLog 2019-08-13 Tom Tromey <tom@tromey.com> * tui/tui-winsource.h (tui_erase_exec_info_content): Don't declare. * tui/tui-winsource.c (tui_source_window_base::refresh_all): Don't call tui_erase_exec_info_content. (tui_clear_exec_info_content): Rename from tui_erase_exec_info_content. (tui_clear_exec_info_content): Delete.
Diffstat (limited to 'gdb/tui/tui-winsource.h')
-rw-r--r--gdb/tui/tui-winsource.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/tui/tui-winsource.h b/gdb/tui/tui-winsource.h
index c902ee0..d8a84b0 100644
--- a/gdb/tui/tui-winsource.h
+++ b/gdb/tui/tui-winsource.h
@@ -188,7 +188,6 @@ extern void tui_update_source_windows_with_line (struct symtab *,
int);
extern void tui_clear_source_content (struct tui_source_window_base *);
extern void tui_erase_source_content (struct tui_source_window_base *);
-extern void tui_erase_exec_info_content (struct tui_source_window_base *);
extern void tui_clear_exec_info_content (struct tui_source_window_base *);
extern void tui_alloc_source_buffer (struct tui_source_window_base *);