From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16889 invoked by alias); 28 Jun 2008 10:16:37 -0000 Received: (qmail 16878 invoked by uid 22791); 28 Jun 2008 10:16:36 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 28 Jun 2008 10:16:12 +0000 Received: (qmail 32482 invoked from network); 28 Jun 2008 10:16:10 -0000 Received: from unknown (HELO 172.16.unknown.plus.ru) (vladimir@127.0.0.2) by mail.codesourcery.com with ESMTPA; 28 Jun 2008 10:16:10 -0000 From: Vladimir Prus To: gdb-patches@sources.redhat.com Subject: [MI] report pass for resuming commands Date: Sat, 28 Jun 2008 11:18:00 -0000 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_k9gZIhfsKa2uftg" Message-Id: <200806281416.04427.vladimir@codesourcery.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-06/txt/msg00532.txt.bz2 --Boundary-00=_k9gZIhfsKa2uftg Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-length: 135 I've noticed that the test helper routine for sending resuming commands fails to report passes. Fixes by attached commit. - Volodya --Boundary-00=_k9gZIhfsKa2uftg Content-Type: text/x-diff; charset="utf-8"; name="commit.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="commit.diff" Content-length: 1252 Index: gdb/testsuite/ChangeLog =================================================================== RCS file: /cvs/src/src/gdb/testsuite/ChangeLog,v retrieving revision 1.1667 diff -u -p -r1.1667 ChangeLog --- gdb/testsuite/ChangeLog 27 Jun 2008 16:42:18 -0000 1.1667 +++ gdb/testsuite/ChangeLog 28 Jun 2008 10:14:00 -0000 @@ -1,3 +1,7 @@ +2008-06-28 Vladimir Prus + + * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass. + 2008-06-27 Pedro Alves * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global. Index: gdb/testsuite/lib/mi-support.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/lib/mi-support.exp,v retrieving revision 1.63 diff -u -p -r1.63 mi-support.exp --- gdb/testsuite/lib/mi-support.exp 25 Jun 2008 14:32:34 -0000 1.63 +++ gdb/testsuite/lib/mi-support.exp 28 Jun 2008 10:14:00 -0000 @@ -1398,6 +1398,7 @@ proc mi_send_resuming_command_raw {comma send_gdb "$command\n" gdb_expect { -re "\\^running\r\n\\*running,thread-id=\"\[^\"\]+\"\r\n${mi_gdb_prompt}" { + pass "$test" } -re ".*${mi_gdb_prompt}" { fail "$test (failed to resume)" --Boundary-00=_k9gZIhfsKa2uftg--