2010-06-02 Michael Snyder <msnyder@vmware.com>

* gdb.python/py-block.exp: Use gdb_test_no_output.
	* gdb.python/py-prettyprint.exp: Ditto.
	* gdb.python/py-template.exp: Ditto.
	* gdb.python/py-value.exp: Ditto.

	* gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
	* gdb.reverse/watch-reverse.exp: Ditto.

	* gdb.server/ext-attach.exp: Use gdb_test_no_output.
	* gdb.server/ext-run.exp: Ditto.
This commit is contained in:
Michael Snyder
2010-06-02 21:50:56 +00:00
parent 019ebafccd
commit 894933089d
9 changed files with 22 additions and 11 deletions

View File

@ -66,9 +66,9 @@ gdb_test "python print block.start" "${decimal}" "Check start not None"
gdb_test "python print block.end" "${decimal}" "Check end not None"
# Move up superblock(s) until we reach function block_func.
gdb_test "python block = block.superblock" "" "Get superblock"
gdb_test_no_output "python block = block.superblock" "Get superblock"
gdb_test "python print block.function" "None" "Second anonymous block"
gdb_test "python block = block.superblock" "" "Get superblock"
gdb_test_no_output "python block = block.superblock" "Get superblock 2"
gdb_test "python print block.function" "block_func"
# Switch frames, then test for main block.