New testsuite/boards/local-remote-host.exp board, now with editing on
authorPedro Alves <palves@redhat.com>
Thu, 1 May 2014 16:25:52 +0000 (17:25 +0100)
committerPedro Alves <palves@redhat.com>
Thu, 1 May 2014 16:25:52 +0000 (17:25 +0100)
commitf8c2a73c881913a25c1cb5be766516a75588c7ab
tree0949804055df7cef6bc1824b4539a3ccd445cd27
parentbe6e8ac7441c51348adfcfe495c6dff59a38ed19
New testsuite/boards/local-remote-host.exp board, now with editing on

This adds a variant of local-remote-host-notty.exp that forces
pseudo-tty allocation, so that readline/editing is enabled.

 $ ssh localhost gdb -q
 (gdb) show editing
 Editing of command lines as they are typed is off.
 (gdb)

vs:

 $ ssh -t localhost gdb -q
 (gdb) show editing
 Editing of command lines as they are typed is on.

We now get, e.g.:

 Running ../../../src/gdb/testsuite/gdb.base/filesym.exp ...
 PASS: gdb.base/filesym.exp: complete on "filesy"
 PASS: gdb.base/filesym.exp: completion list for "filesym"
 PASS: gdb.base/filesym.exp: set breakpoint at filesym

gdb/testsuite/
2014-05-01  Pedro Alves  <palves@redhat.com>

        * boards/local-remote-host.exp: New file.
gdb/testsuite/ChangeLog
gdb/testsuite/boards/local-remote-host.exp [new file with mode: 0644]