aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorTom de Vries <tdevries@sdflex.arch.suse.de>2021-11-30 15:37:01 +0100
committerTom de Vries <tdevries@suse.de>2021-11-30 15:37:01 +0100
commitd0b39fc48552fb96b00176145f11ecc871ef4024 (patch)
treef5128b1d221937f600d7802b2409235125c78946 /gdb/python
parent9745b5a753e5bbb3796e77f058bdf1b23b82bd89 (diff)
downloadgdb-d0b39fc48552fb96b00176145f11ecc871ef4024.zip
gdb-d0b39fc48552fb96b00176145f11ecc871ef4024.tar.gz
gdb-d0b39fc48552fb96b00176145f11ecc871ef4024.tar.bz2
[gdb/testsuite] Fix gdb.base/style.exp with stub-termcap
When running test-case gdb.base/style.exp with a gdb build using stub-termcap.c, we run into: ... (gdb) PASS: gdb.base/style.exp: all styles enabled: frame when width=20 ^M<et width 30^M (gdb) FAIL: gdb.base/style.exp: all styles enabled: set width 30 ... The problem is that we're trying to issue the command "set width 30" while width is set to 20, which causes horizontal scrolling. Fix this by resetting the width to 0 before issuing the "set width 30" command. Tested on x86_64-linux. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=24582
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions