aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib/gdb.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/lib/gdb.exp')
-rw-r--r--gdb/testsuite/lib/gdb.exp9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index bb4bd65..7538071 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -216,6 +216,7 @@ if ![info exists INTERNAL_GDBFLAGS] {
[join [list \
"-nw" \
"-nx" \
+ "-q" \
{-iex "set height 0"} \
{-iex "set width 0"}]]
@@ -2302,6 +2303,14 @@ proc default_gdb_start { } {
# that case, this case is hit.
verbose "GDB initialized."
}
+ -re "^$gdb_prompt $" {
+ # Output with -q.
+ verbose "GDB initialized."
+ }
+ -re "^\033\\\[.2004h$gdb_prompt $" {
+ # Output with -q, and bracketed paste mode enabled, see above.
+ verbose "GDB initialized."
+ }
-re "$gdb_prompt $" {
perror "GDB never initialized."
unset gdb_spawn_id