Fix regression from TUI disassembly style patch
authorTom Tromey <tom@tromey.com>
Wed, 6 Nov 2019 01:12:49 +0000 (18:12 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 6 Nov 2019 01:39:23 +0000 (18:39 -0700)
commit825165c57e43b25ef57c3cf2cc345ec6aa40a0d3
treef4e382291555614bc2c4d5924332c3a3a8fc5943
parent8e71a6e725ad881367f410f7d6f9a3106f3a2232
Fix regression from TUI disassembly style patch

My previous patch to add styling to the TUI disassembly failed to
correctly fix a bug that Simon had pointed out in review.  This patch
fixes the bug.

gdb/ChangeLog
2019-11-05  Tom Tromey  <tom@tromey.com>

* tui/tui-disasm.c (struct tui_asm_line) <addr_size>: New member.
(tui_disassemble): Set addr_size.
(tui_disasm_window::set_contents): Use addr_size.

Change-Id: Ic0152f3b82a2f79be28ae46d590096661f271580
gdb/ChangeLog
gdb/tui/tui-disasm.c