aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/tui-winsource.c9
-rw-r--r--gdb/tui/tui-winsource.h1
2 files changed, 1 insertions, 9 deletions
diff --git a/gdb/tui/tui-winsource.c b/gdb/tui/tui-winsource.c
index c99e207..ed2af06 100644
--- a/gdb/tui/tui-winsource.c
+++ b/gdb/tui/tui-winsource.c
@@ -334,7 +334,6 @@ tui_source_window_base::refresh_all ()
{
show_source_content ();
check_and_display_highlight_if_needed ();
- tui_erase_exec_info_content (this);
update_exec_info ();
}
@@ -657,7 +656,7 @@ tui_source_window_base::show_exec_info_content ()
void
-tui_erase_exec_info_content (struct tui_source_window_base *win_info)
+tui_clear_exec_info_content (struct tui_source_window_base *win_info)
{
struct tui_gen_win_info *exec_info = win_info->execution_info;
@@ -665,12 +664,6 @@ tui_erase_exec_info_content (struct tui_source_window_base *win_info)
exec_info->refresh_window ();
}
-void
-tui_clear_exec_info_content (struct tui_source_window_base *win_info)
-{
- tui_erase_exec_info_content (win_info);
-}
-
/* Function to update the execution info window. */
void
tui_source_window_base::update_exec_info ()
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 *);