diff options
author | Tom Tromey <tom@tromey.com> | 2019-06-28 16:58:16 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-07-17 12:19:06 -0600 |
commit | 9d391078d1238e1be9dea5a775982a00a2497a57 (patch) | |
tree | 655ab88e0f3df94d4cb55bd68e68ff1387bf65d1 /gdb/tui/tui-disasm.h | |
parent | a38da35d7bc89e4c2191d4f042912038c585f36d (diff) | |
download | gdb-9d391078d1238e1be9dea5a775982a00a2497a57.zip gdb-9d391078d1238e1be9dea5a775982a00a2497a57.tar.gz gdb-9d391078d1238e1be9dea5a775982a00a2497a57.tar.bz2 |
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.
Diffstat (limited to 'gdb/tui/tui-disasm.h')
-rw-r--r-- | gdb/tui/tui-disasm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/tui/tui-disasm.h b/gdb/tui/tui-disasm.h index 925c749..59822c7 100644 --- a/gdb/tui/tui-disasm.h +++ b/gdb/tui/tui-disasm.h @@ -25,7 +25,8 @@ #include "tui/tui.h" /* For enum tui_status. */ #include "tui/tui-data.h" /* For enum tui_scroll_direction. */ -extern enum tui_status tui_set_disassem_content (struct gdbarch *, CORE_ADDR); +extern enum tui_status tui_set_disassem_content (tui_source_window_base *, + struct gdbarch *, CORE_ADDR); extern void tui_show_disassem (struct gdbarch *, CORE_ADDR); extern void tui_show_disassem_and_update_source (struct gdbarch *, CORE_ADDR); extern void tui_get_begin_asm_address (struct gdbarch **, CORE_ADDR *); |