diff options
Diffstat (limited to 'gdb/tui/tui-winsource.h')
-rw-r--r-- | gdb/tui/tui-winsource.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gdb/tui/tui-winsource.h b/gdb/tui/tui-winsource.h index 501dd31..fab1487 100644 --- a/gdb/tui/tui-winsource.h +++ b/gdb/tui/tui-winsource.h @@ -25,6 +25,23 @@ #include "tui/tui-data.h" #include "symtab.h" +enum tui_line_or_address_kind +{ + LOA_LINE, + LOA_ADDRESS +}; + +/* Structure describing source line or line address. */ +struct tui_line_or_address +{ + enum tui_line_or_address_kind loa; + union + { + int line_no; + CORE_ADDR addr; + } u; +}; + /* Flags to tell what kind of breakpoint is at current line. */ enum tui_bp_flag { |