This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[obv] gdb.base/break.exp: Fix setting of $baz.
- From: Doug Evans <dje at google dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 06 Dec 2013 10:21:45 -0800
- Subject: [obv] gdb.base/break.exp: Fix setting of $baz.
- Authentication-results: sourceware.org; auth=none
Hi.
I noticed this while using break.exp to test something.
Committed.
2013-12-06 Doug Evans <dje@google.com>
* gdb.base/break.exp: Fix setting of $baz.
diff --git a/gdb/testsuite/gdb.base/break.exp b/gdb/testsuite/gdb.base/break.exp
index 2221407..a15c391 100644
--- a/gdb/testsuite/gdb.base/break.exp
+++ b/gdb/testsuite/gdb.base/break.exp
@@ -335,7 +335,7 @@ gdb_test "enable" "" ""
gdb_test "disable 10" "No breakpoint number 10." \
"disable non-existent breakpoint 10"
-gdb_test "set \$baz 1.234"
+gdb_test_no_output "set \$baz = 1.234"
gdb_test "disable \$baz" \
"Convenience variable must have integer value.*" \
"disable with non-integer convenience var"