| commit | be740e7cc62fed098ad62cef3b2e2b25b44d8748 | [log] [tgz] |
|---|---|---|
| author | Rohr, Stephan <stephan.rohr@intel.com> | Thu Sep 19 12:55:19 2024 +0200 |
| committer | Stephan Rohr <stephan.rohr@intel.com> | Thu Nov 21 00:49:39 2024 -0800 |
| tree | 0dc2a1eefc521536f835a4836223528646565266 | |
| parent | 25f0170973a7738fb47e4ae721a08e7e8d982489 [diff] |
testsuite: skip confirmation in 'gdb_reinitialize_dir'
Some shells automatically confirm the 'dir' command:
(gdb) dir
Reinitialize source path to empty? (y or n)
[answered Y; input not from terminal]
Source directories searched: $cdir;$cwd
(gdb) y
dir <...>/gdb/testsuite/gdb.base
Undefined command: "y". Try "help".
For example, this reprdocues in a MinGW32 environment with
'TERM=dumb'. Skip sending 'y' if the command is already confirmed.
Approved-By: Tom Tromey <tom@tromey.com>