Change gdb test suite's TERM setting
authorTom Tromey <tom@tromey.com>
Tue, 13 Nov 2018 18:59:03 +0000 (11:59 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 28 Dec 2018 19:49:48 +0000 (12:49 -0700)
commit9162a27c5f5828240b53379d735679e2a69a9f41
treedef51ae653f5ba1797fa6e027e2dbd07ffa6083d
parenteedeedd2a50d121af466ddfa9e897212defbf079
Change gdb test suite's TERM setting

This changes the gdb test suite to set TERM to "dumb" by default.
This setting disables terminal styling, so that the existing tests do
not need to be updated.

gdb/testsuite/ChangeLog
2018-12-28  Tom Tromey  <tom@tromey.com>

* lib/gdb.exp (gdb_init): Set the TERM environment variable to
"dumb".
* gdb.base/readline.exp (operate_and_get_next): Save and restore
the TERM environment variable.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/readline.exp
gdb/testsuite/lib/gdb.exp