Two fixes for test suite's terminal
authorTom Tromey <tom@tromey.com>
Sun, 28 Jul 2019 21:02:35 +0000 (15:02 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 29 Jul 2019 22:06:58 +0000 (16:06 -0600)
commit3d2357068b03edc850b3d84a27dbe6ad12a66d6f
tree0f254b2214f49c81c68e12075518850752f0bb75
parentbc4268a5d926c8f29e42d245322145dad131627f
Two fixes for test suite's terminal

Exactly which escape sequences are emitted by gdb in TUI mode are
determined largely by the curses implementation.  Testing my latest
(as yet unsubmitted) series to refactor the TUI showed a couple of
failures that I tracked to the test suite's terminal implementation.

In particular, the CSI "@" sequence was not implemented; and the CSI
"X" sequence was implemented incorrectly.

This patch fixes both of these problems.  Tested on x86-64 Fedora 28.

gdb/testsuite/ChangeLog
2019-07-29  Tom Tromey  <tom@tromey.com>

* lib/tuiterm.exp (Term::_csi_@): New proc.
(Term::_csi_X): Don't move cursor.
gdb/testsuite/ChangeLog
gdb/testsuite/lib/tuiterm.exp
This page took 0.026833 seconds and 4 git commands to generate.