aboutsummaryrefslogtreecommitdiff
path: root/gdb/frv-tdep.h
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
commit7bc2c8b83ea82b4315c67e7658af815aed062e73 (patch)
treef2c8720d610cb3e2f517a50c3f1f40663ca36761 /gdb/frv-tdep.h
parentf5396833d35a257902409493a63f777dcd771868 (diff)
downloadgdb-7bc2c8b83ea82b4315c67e7658af815aed062e73.zip
gdb-7bc2c8b83ea82b4315c67e7658af815aed062e73.tar.gz
gdb-7bc2c8b83ea82b4315c67e7658af815aed062e73.tar.bz2
tui-winsource: Allocate for actual lines only
The logic for allocating a TUI source window's content buffer allocates two more lines than needed, because it does not reduce the window height by the highlight box's overhead. However, it does reduce the line width accordingly. This patch makes the height and width calculation consistent and improves the comment. gdb/ChangeLog: * tui/tui-winsource.c (tui_alloc_source_buffer): Subtract highlight box's overhead when calculating the content height.
Diffstat (limited to 'gdb/frv-tdep.h')
0 files changed, 0 insertions, 0 deletions