diff options
author | Tom Tromey <tom@tromey.com> | 2019-06-28 15:19:10 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-07-17 12:19:05 -0600 |
commit | c2cd8994669f63eb415522352a5d5006d0fbfb48 (patch) | |
tree | a82d261431329dcffd107a687f7016bed4ad6a5c /gdb/alpha-tdep.c | |
parent | 4dde7b34f4e40ee6e0ea596357e4def60bd67d20 (diff) | |
download | gdb-c2cd8994669f63eb415522352a5d5006d0fbfb48.zip gdb-c2cd8994669f63eb415522352a5d5006d0fbfb48.tar.gz gdb-c2cd8994669f63eb415522352a5d5006d0fbfb48.tar.bz2 |
Introduce tui_source_window_base::location_matches_p method
This introduces the location_matches_p method, removing a spot that
explicitly examines a window's type.
gdb/ChangeLog
2019-07-17 Tom Tromey <tom@tromey.com>
* tui/tui-winsource.c (tui_update_breakpoint_info): Use
location_matches_p.
* tui/tui-source.c (tui_source_window::location_matches_p): New
method.
* tui/tui-disasm.c (tui_disasm_window::location_matches_p): New
method.
* tui/tui-data.h (struct tui_source_window_base)
<location_matches_p>: New method.
(struct tui_source_window, struct tui_disasm_window)
<location_matches_p>: Likewise.
Diffstat (limited to 'gdb/alpha-tdep.c')
0 files changed, 0 insertions, 0 deletions