gdb/testsuite/

* gdb.base/commands.exp (add printf tbreak command): Remove trailing
	newline.
	* gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
	(empty verbose non-noisy clear, empty verbose noisy clear)
	(empty non-verbose noisy clear): Likewise.
This commit is contained in:
Jan Kratochvil 2010-06-04 14:26:52 +00:00
parent 44b5680ae1
commit 38979823d9
3 changed files with 13 additions and 5 deletions

View File

@ -1,3 +1,11 @@
2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/commands.exp (add printf tbreak command): Remove trailing
newline.
* gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
(empty verbose non-noisy clear, empty verbose noisy clear)
(empty non-verbose noisy clear): Likewise.
2010-06-03 Michael Snyder <msnyder@vmware.com>
* gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.

View File

@ -503,7 +503,7 @@ proc temporary_breakpoint_commands {} {
pass "add silent tbreak command"
}
}
gdb_test_multiple "printf \"factorial tbreak commands executed\\n\"\n" \
gdb_test_multiple "printf \"factorial tbreak commands executed\\n\"" \
"add printf tbreak command" {
-re ">$" {
pass "add printf tbreak command"

View File

@ -207,13 +207,13 @@ proc test_empty_complaint { cmd msg } {
proc test_empty_complaints { } {
test_empty_complaint "call clear_complaints(&symfile_complaints,0,0)\n" \
test_empty_complaint "call clear_complaints(&symfile_complaints,0,0)" \
"empty non-verbose non-noisy clear"
test_empty_complaint "call clear_complaints(&symfile_complaints,1,0)\n" \
test_empty_complaint "call clear_complaints(&symfile_complaints,1,0)" \
"empty verbose non-noisy clear"
test_empty_complaint "call clear_complaints(&symfile_complaints,1,1)\n" \
test_empty_complaint "call clear_complaints(&symfile_complaints,1,1)" \
"empty verbose noisy clear"
test_empty_complaint "call clear_complaints(&symfile_complaints,0,1)\n" \
test_empty_complaint "call clear_complaints(&symfile_complaints,0,1)" \
"empty non-verbose noisy clear"
return 0