aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.server
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.server')
-rw-r--r--gdb/testsuite/gdb.server/bkpt-other-inferior.exp4
-rw-r--r--gdb/testsuite/gdb.server/connect-without-multi-process.exp2
2 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.server/bkpt-other-inferior.exp b/gdb/testsuite/gdb.server/bkpt-other-inferior.exp
index 7ad38ea..5ff0513 100644
--- a/gdb/testsuite/gdb.server/bkpt-other-inferior.exp
+++ b/gdb/testsuite/gdb.server/bkpt-other-inferior.exp
@@ -79,11 +79,11 @@ foreach inf_sel {1 2} {
"switch to inferior"
set test "set breakpoint"
- gdb_test_multiple "break main" $test {
+ gdb_test_multiple "break -q main" $test {
-re "Sending packet.*$gdb_prompt $" {
fail $test
}
- -re "^break main\r\nBreakpoint .* at .*$gdb_prompt $" {
+ -re "^break -q main\r\nBreakpoint .* at .*$gdb_prompt $" {
pass $test
}
}
diff --git a/gdb/testsuite/gdb.server/connect-without-multi-process.exp b/gdb/testsuite/gdb.server/connect-without-multi-process.exp
index 1230892..7e3579f 100644
--- a/gdb/testsuite/gdb.server/connect-without-multi-process.exp
+++ b/gdb/testsuite/gdb.server/connect-without-multi-process.exp
@@ -45,7 +45,7 @@ proc do_test {multiprocess} {
set gdbserver_protocol [lindex $res 0]
set gdbserver_gdbport [lindex $res 1]
- gdb_test "break main" "Breakpoint .*"
+ gdb_test "break -q main" "Breakpoint .*"
gdb_test "target $gdbserver_protocol $gdbserver_gdbport" \
"Remote debugging using .*" \