[Bug testsuite/24582] New: FAIL: gdb.base/style.exp: set width 30 (with stub-termcap.o)
vries at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Mon May 20 09:57:00 GMT 2019
https://sourceware.org/bugzilla/show_bug.cgi?id=24582
Bug ID: 24582
Summary: FAIL: gdb.base/style.exp: set width 30 (with
stub-termcap.o)
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: testsuite
Assignee: unassigned at sourceware dot org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
The test-case style.exp uses TERM=ansi.
With a gdb build with stub-termcap.o however, that mode is not effective
(because the call to tgetent in _rl_init_terminal_io fails), and _rl_term_up
ends up set to NULL.
So, when displaying "(gdb) set width 30", rl_redisplay goes into
horizontal-scrolling-mode (because _rl_term_up == NULL), causing the gdb_test
mismatch:
...
set width 3^M<et width 30 ^H^H^H^H^H^M
(gdb) FAIL: gdb.base/style.exp: set width 30
...
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Gdb-prs
mailing list