diff options
author | Tom Tromey <tom@tromey.com> | 2019-07-06 15:06:47 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-08-15 12:29:28 -0600 |
commit | 088f37dd90eecb647347c1aa53d36b3f5be64b21 (patch) | |
tree | 4453f8eb6169fd83c92be094b406903830a87ef8 /libiberty/simple-object-elf.c | |
parent | a54700c6c45ea424b668f2201ef14906f2052412 (diff) | |
download | gdb-088f37dd90eecb647347c1aa53d36b3f5be64b21.zip gdb-088f37dd90eecb647347c1aa53d36b3f5be64b21.tar.gz gdb-088f37dd90eecb647347c1aa53d36b3f5be64b21.tar.bz2 |
Change tui_addr_is_displayed into a method
This changes tui_addr_is_displayed to be a method on
tui_disasm_window, now that it is obvious that it can only be called
for this type.
gdb/ChangeLog
2019-08-15 Tom Tromey <tom@tromey.com>
* tui/tui-winsource.h (tui_addr_is_displayed): Don't declare.
* tui/tui-winsource.c (tui_addr_is_displayed): Move to
tui-disasm.c.
* tui/tui-disasm.h (struct tui_disasm_window) <addr_is_displayed>:
Declare.
* tui/tui-disasm.c (tui_disasm_window::addr_is_displayed): New
method.
(tui_disasm_window::maybe_update): Update.
Diffstat (limited to 'libiberty/simple-object-elf.c')
0 files changed, 0 insertions, 0 deletions