aboutsummaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorAndreas Arnez <arnez@linux.vnet.ibm.com>2016-11-09 13:02:13 +0100
committerAndreas Arnez <arnez@linux.vnet.ibm.com>2016-11-09 13:02:13 +0100
commitf5396833d35a257902409493a63f777dcd771868 (patch)
tree07b1bece9ccc07618d0ea47e307dd312656e0250 /cpu
parent0bb65f1e7c9eed7338ef2e4a2f5b42d010409c39 (diff)
downloadgdb-f5396833d35a257902409493a63f777dcd771868.zip
gdb-f5396833d35a257902409493a63f777dcd771868.tar.gz
gdb-f5396833d35a257902409493a63f777dcd771868.tar.bz2
tui-disasm: Fix line buffer size calculation
The code that fills the TUI disassembly window content first calculates the maximum full length of a displayed disassembly line. This calculation typically yields the wrong result. The result is too large, so the bug does not cause any run-time failures, but unnecessary confusion for the reader. This patch fixes the calculation. gdb/ChangeLog: * tui/tui-disasm.c (tui_set_disassem_content): Fix calculation of the longest disassembly line's length.
Diffstat (limited to 'cpu')
0 files changed, 0 insertions, 0 deletions