aboutsummaryrefslogtreecommitdiff
path: root/gdb/ui-file.c
diff options
context:
space:
mode:
authorCarl Love <cel@us.ibm.com>2021-07-20 18:13:50 -0500
committerCarl Love <cel@us.ibm.com>2021-07-29 14:38:47 -0500
commitabdd4204a2f80798e5e517aeaa0955778c728bdf (patch)
treea02284fee993c56b36ba180c11247728e82f6a79 /gdb/ui-file.c
parent91ef1ea5428adfc8b2b13bd584e1791c9e59e804 (diff)
downloadbinutils-abdd4204a2f80798e5e517aeaa0955778c728bdf.zip
binutils-abdd4204a2f80798e5e517aeaa0955778c728bdf.tar.gz
binutils-abdd4204a2f80798e5e517aeaa0955778c728bdf.tar.bz2
Fix for gdb.tui/tui-layout-asm.exp
The width of the window is too narrow to display the entire assembly line. The width of the columns in the window changes as the test walks thru the terminal window output. The column change results in the first and second reads of the same line to differ thus causing the test to fail. Increasing the width of the window keeps the column width consistent thru the test. If the test fails, the added check prints an message to the log file if the failure may be due to the window being too narrow. gdb/testsuite/ChangeLog * gdb.tui/tui-layout-asm.exp: Replace window width of 80 with the tui_asm_window_width variable for the width. Add if count_whitespace check. (count_whitespace): New proc
Diffstat (limited to 'gdb/ui-file.c')
0 files changed, 0 insertions, 0 deletions