summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/pending.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/pending.exp b/gdb/testsuite/gdb.base/pending.exp
index 0ecdf675342..2cef30af5bf 100644
--- a/gdb/testsuite/gdb.base/pending.exp
+++ b/gdb/testsuite/gdb.base/pending.exp
@@ -151,7 +151,7 @@ gdb_test_multiple "break pendfunc2" "Don't set pending breakpoint" {
# Add condition to pending breakpoint
#
-gdb_test "condition 1 k == 1\n" ""
+gdb_test "condition 1 k == 1" ""
gdb_test "info break" \
"Num Type\[ \]+Disp Enb Address\[ \]+What.*
@@ -164,7 +164,7 @@ gdb_test "info break" \
# Disable pending breakpoint
#
-gdb_test "disable 1\n" ""
+gdb_test "disable 1" ""
gdb_test "info break" \
"Num Type\[ \]+Disp Enb Address\[ \]+What.*