gdb/testsuite/

* gdb.base/commands.exp (begin commands on watch): Remove excessive
	trailing newline.
	* gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
	* gdb.java/jmisc.exp (p *args\n): Rename to ...
	(p *args): ... here and remove excessive trailing newline.
This commit is contained in:
Jan Kratochvil 2010-06-01 17:22:33 +00:00
parent fa593d66d5
commit 3f9e0d3242
4 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,11 @@
2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/commands.exp (begin commands on watch): Remove excessive
trailing newline.
* gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
* gdb.java/jmisc.exp (p *args\n): Rename to ...
(p *args): ... here and remove excessive trailing newline.
2010-05-31 Joel Brobecker <brobecker@adacore.com>
* gdb.base/subst.exp: Fix call to gdb_test with empty message.

View File

@ -284,7 +284,7 @@ proc watchpoint_command_test {} {
if {$wp_id == -1} {return}
gdb_test_multiple "commands $wp_id\n" "begin commands on watch" {
gdb_test_multiple "commands $wp_id" "begin commands on watch" {
-re "Type commands for breakpoint.*, one per line.*>$" {
pass "begin commands on watch"
}

View File

@ -81,7 +81,7 @@ if ![set_lang_java] then {
gdb_test "p args" \
"\\\$1 = java\.lang\.String\\\[]@\[a-f0-9]+"
gdb_test_multiple "p *args\n" "p *args\n" {
gdb_test_multiple "p *args" "p *args" {
-re "\\\$2 = \{length: 0\}\[\r\n\ \t]+$gdb_prompt $" {
pass "p *args"
}

View File

@ -37,7 +37,7 @@ mi_gdb_reinitialize_dir $srcdir/$subdir
mi_gdb_load $binfile
set supported 0
gdb_test_multiple "-gdb-show non-stop\n" "" {
gdb_test_multiple "-gdb-show non-stop" "" {
-re ".*\\^done,value=\"off\",supported=\"(\[^\"\]+)\"\r\n$mi_gdb_prompt$" {
if { $expect_out(1,string) == "1" } {
set supported 1