diff options
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/batch-preserve-term-settings.exp | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 04a6450..c5ec756 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-05-16 Yao Qi <yao.qi@linaro.org> + + * gdb.base/batch-preserve-term-settings.exp: Remove variable + shell_prompt. Update shell_prompt_re. + 2016-05-12 Doug Evans <dje@google.com> PR symtab/19999 diff --git a/gdb/testsuite/gdb.base/batch-preserve-term-settings.exp b/gdb/testsuite/gdb.base/batch-preserve-term-settings.exp index c925e88..a2de2c0 100644 --- a/gdb/testsuite/gdb.base/batch-preserve-term-settings.exp +++ b/gdb/testsuite/gdb.base/batch-preserve-term-settings.exp @@ -28,8 +28,7 @@ if [is_remote host] { } # The shell's prompt. -set shell_prompt "$ " -set shell_prompt_re [string_to_regexp $shell_prompt] +set shell_prompt_re "\[$#\] " # Spawn shell. Returns true on success, false otherwise. |