Use "bool" in more spots in TUI
[deliverable/binutils-gdb.git] / gdb / tui / tui-stack.h
index 93a79fbd799c72d0a6986ab8dc9369e2d3c64fec..0a928f328b4955c15d6b17b13c387927d272b5eb 100644 (file)
@@ -37,6 +37,16 @@ struct tui_locator_window : public tui_gen_win_info
     proc_name[0] = 0;
   }
 
+  int max_height () const override
+  {
+    return 1;
+  }
+
+  int min_height () const override
+  {
+    return 1;
+  }
+
   void rerender () override;
 
   /* Update the locator, with the provided arguments.
@@ -44,9 +54,8 @@ struct tui_locator_window : public tui_gen_win_info
      Returns true if any of the locator's fields were actually
      changed, and false otherwise.  */
   bool set_locator_info (struct gdbarch *gdbarch,
-                        const char *fullname,
-                        const char *procname,
-                        int lineno, CORE_ADDR addr);
+                        const struct symtab_and_line &sal,
+                        const char *procname);
 
   /* Set the full_name portion of the locator.  */
   void set_locator_fullname (const char *fullname);
@@ -67,8 +76,8 @@ private:
   std::string make_status_line () const;
 };
 
-extern void tui_update_locator_fullname (const char *);
+extern void tui_update_locator_fullname (struct symtab *symtab);
 extern void tui_show_locator_content (void);
-extern int tui_show_frame_info (struct frame_info *);
+extern bool tui_show_frame_info (struct frame_info *);
 
 #endif /* TUI_TUI_STACK_H */
This page took 0.035512 seconds and 4 git commands to generate.