aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-source.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui/tui-source.h')
-rw-r--r--gdb/tui/tui-source.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/tui/tui-source.h b/gdb/tui/tui-source.h
index dc4470e..4233879 100644
--- a/gdb/tui/tui-source.h
+++ b/gdb/tui/tui-source.h
@@ -59,6 +59,10 @@ private:
void style_changed ();
+ /* Answer whether a particular line number or address is displayed
+ in the current source window. */
+ bool line_is_displayed (int line) const;
+
/* A token used to register and unregister an observer. */
gdb::observers::token m_observable;
};