Introduce make_visible method
[deliverable/binutils-gdb.git] / gdb / tui / tui-data.c
index 48332fa4b75c70dcfebe653c5973b9f513ff5e9d..6e1df0136f026de2ce680754163f7bb7766e6040 100644 (file)
@@ -63,12 +63,6 @@ static void free_content_elements (tui_win_content,
 ** PUBLIC FUNCTIONS
 **********************************/
 
-int
-tui_win_is_source_type (enum tui_win_type win_type)
-{
-  return (win_type == SRC_WIN || win_type == DISASSEM_WIN);
-}
-
 int
 tui_win_is_auxillary (enum tui_win_type win_type)
 {
@@ -195,7 +189,7 @@ tui_data_window::clear_detail ()
   regs_content = NULL;
   regs_content_count = 0;
   regs_column_count = 1;
-  display_regs = FALSE;
+  display_regs = false;
 }
 
 /* Accessor for the source execution info ptr.  */
@@ -495,23 +489,6 @@ tui_source_window_base::tui_source_window_base (enum tui_win_type type)
   start_line_or_addr.u.addr = 0;
 }
 
-tui_data_window::tui_data_window ()
-  : tui_win_info (DATA_WIN)
-{
-  data_content = NULL;
-  data_content_count = 0;
-  regs_content = NULL;
-  regs_content_count = 0;
-  regs_column_count = 1;
-  display_regs = FALSE;
-  current_group = 0;
-}
-
-tui_cmd_window::tui_cmd_window ()
-  : tui_win_info (CMD_WIN)
-{
-}
-
 struct tui_win_info *
 tui_alloc_win_info (enum tui_win_type type)
 {
@@ -621,7 +598,7 @@ tui_data_window::~tui_data_window ()
       data_content = NULL;
       data_content_count = 0;
       regs_column_count = 1;
-      display_regs = FALSE;
+      display_regs = false;
       generic.content = NULL;
       generic.content_size = 0;
     }
This page took 0.025289 seconds and 4 git commands to generate.