aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-status.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui/tui-status.h')
-rw-r--r--gdb/tui/tui-status.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/tui/tui-status.h b/gdb/tui/tui-status.h
index 0af4466..f7cd2d4 100644
--- a/gdb/tui/tui-status.h
+++ b/gdb/tui/tui-status.h
@@ -50,6 +50,14 @@ private:
std::string make_status_line () const;
};
+/* Return the instance of the status window. */
+
+inline tui_status_window *
+tui_status_win ()
+{
+ return dynamic_cast<tui_status_window *> (tui_win_list[STATUS_WIN]);
+}
+
extern void tui_show_status_content (void);
extern void tui_show_frame_info (const frame_info_ptr &);