gdb/testsuite/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 1 Jun 2010 17:22:33 +0000 (17:22 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 1 Jun 2010 17:22:33 +0000 (17:22 +0000)
* 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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/commands.exp
gdb/testsuite/gdb.java/jmisc.exp
gdb/testsuite/gdb.mi/mi-nsintrall.exp

index 5d50914ee4f41cc93ea65bc84fed2fbd981514e2..8b868a97efeb4f3c3c091e406180384fdc66cad6 100644 (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.
index 5ffadcb426304641fe010aae3cdd335705bac270..3f7415dbd357d8715adaca54049820025cbe192d 100644 (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"
        }
index d1cf2cb49578470aef38ceea2d89a6835bdb154d..b3292a3b3edd0a89cf6d69688e30f2e042137a28 100644 (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"
        }
index cd277b259e994521ab7b6a5caa4cc5bc91186803..33f8daa2918c9a30bf4ef05cf20cf21b99e315ad 100644 (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
This page took 0.037897 seconds and 4 git commands to generate.