Add win_info parameter to tui_set_disassem_content
authorTom Tromey <tom@tromey.com>
Fri, 28 Jun 2019 22:58:16 +0000 (16:58 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 17 Jul 2019 18:19:06 +0000 (12:19 -0600)
commit9d391078d1238e1be9dea5a775982a00a2497a57
tree655ab88e0f3df94d4cb55bd68e68ff1387bf65d1
parenta38da35d7bc89e4c2191d4f042912038c585f36d
Add win_info parameter to tui_set_disassem_content

This adds a win_info parameter to tui_set_disassem_content, removing
uses of the TUI_DISASM_WIN global.

gdb/ChangeLog
2019-07-17  Tom Tromey  <tom@tromey.com>

* tui/tui-winsource.c (tui_update_source_window_as_is): Update.
* tui/tui-disasm.h (tui_set_disassem_content): Add win_info
parameter.
* tui/tui-disasm.c (tui_set_disassem_content): Add win_info
parameter.
gdb/ChangeLog
gdb/tui/tui-disasm.c
gdb/tui/tui-disasm.h
gdb/tui/tui-winsource.c