aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-disasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui/tui-disasm.h')
-rw-r--r--gdb/tui/tui-disasm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/tui/tui-disasm.h b/gdb/tui/tui-disasm.h
index 20bc429..1b51e09 100644
--- a/gdb/tui/tui-disasm.h
+++ b/gdb/tui/tui-disasm.h
@@ -51,6 +51,11 @@ struct tui_disasm_window : public tui_source_window_base
protected:
void do_scroll_vertical (int num_to_scroll) override;
+
+private:
+ /* Answer whether a particular line number or address is displayed
+ in the current source window. */
+ bool addr_is_displayed (CORE_ADDR addr) const;
};
extern enum tui_status tui_set_disassem_content (tui_source_window_base *,