diff options
author | Tom de Vries <tdevries@suse.de> | 2020-12-10 23:44:49 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2020-12-10 23:44:49 +0100 |
commit | 10067028372e0f50799ec93843490db42c619e39 (patch) | |
tree | d65eae62494e8c85ed3394c955f9179876f5aed6 /gdb/python/py-varobj.c | |
parent | 2ccee230f83055af67cb34781179b24a4b9ef2f2 (diff) | |
download | gdb-10067028372e0f50799ec93843490db42c619e39.zip gdb-10067028372e0f50799ec93843490db42c619e39.tar.gz gdb-10067028372e0f50799ec93843490db42c619e39.tar.bz2 |
[gdb/testsuite] Fix gdb.tui/new-layout.exp with tcl 8.5
In commit 4d91ddd342 "[gdb/testsuite] Fix unbalanced braces in
gdb.tui/new-layout.exp", I tried to fix a problem with test-case
gdb.tui/new-layout.exp when running with tcl 8.5.
However, at that point I only had access to the log containing the failure,
and unfortunately my patch turned out not to be effective.
So, finally fix this problem by guarding the problematic code with:
...
if { [tcl_version_at_least 8 6] } { ... }
...
Tested on x86_64-linux, specifically SLE-11 where I ran into the failure.
gdb/testsuite/ChangeLog:
2020-12-10 Tom de Vries <tdevries@suse.de>
PR testsuite/26947
* gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
braces for tcl 8.5 and earlier.
Diffstat (limited to 'gdb/python/py-varobj.c')
0 files changed, 0 insertions, 0 deletions