From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4273 invoked by alias); 21 Jan 2013 18:06:48 -0000 Received: (qmail 4260 invoked by uid 22791); 21 Jan 2013 18:06:45 -0000 X-SWARE-Spam-Status: No, hits=-3.7 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 21 Jan 2013 18:06:39 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1TxLlW-0005EH-T5 from Hafiz_Abid@mentor.com for gdb-patches@sourceware.org; Mon, 21 Jan 2013 10:06:38 -0800 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 21 Jan 2013 10:06:38 -0800 Received: from abidh-ubunto1104 (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server (TLS) id 14.1.289.1; Mon, 21 Jan 2013 18:06:37 +0000 Date: Mon, 21 Jan 2013 18:06:00 -0000 From: Hafiz Abid Qadeer Subject: [patch] Make test messages unique in mi-var-block.exp To: Message-ID: <1358791596.2163.1@abidh-ubunto1104> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-D8YjrXaB7f8+Wjs2nV7/" 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: 2013-01/txt/msg00485.txt.bz2 --=-D8YjrXaB7f8+Wjs2nV7/ Content-Type: text/plain; charset="us-ascii"; delsp=Yes; format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 304 Hi, This is another little patch to make the test messages unique in=20=20 mi-var-block.exp. Tested by running the test. Is it ok? Regards, Abid gdb/testsuite: 2013-01-21 Hafiz Abid Qadeer PR gdb/13443 * gdb.mi/mi-var-block.exp: Make test messages unique. --=-D8YjrXaB7f8+Wjs2nV7/ Content-Type: text/x-patch; charset="us-ascii"; name="mi-var-block.patch" Content-Disposition: attachment; filename="mi-var-block.patch" Content-Transfer-Encoding: quoted-printable Content-length: 2422 diff --git a/gdb/testsuite/gdb.mi/mi-var-block.exp b/gdb/testsuite/gdb.mi/m= i-var-block.exp index ddc6a89..5e7f482 100644 --- a/gdb/testsuite/gdb.mi/mi-var-block.exp +++ b/gdb/testsuite/gdb.mi/mi-var-block.exp @@ -51,13 +51,13 @@ mi_gdb_test "-var-create foo * foo" \ # step to "foo =3D 123;" mi_step_to "do_block_tests" "" "var-cmd.c" \ [gdb_get_line_number "foo =3D 123;"] \ - "step at do_block_test" + "step at do_block_test 1" =20 =20 # Be paranoid and assume 3.2 created foo mi_gdb_test "-var-delete foo" \ "\\^error,msg=3D\"Variable object not found\"" \ - "delete var foo" + "delete var foo 1" =20 =20 # Test: c_variable-3.3 @@ -67,7 +67,7 @@ mi_create_varobj "foo" "foo" "create local variable foo" # step to "foo2 =3D 123;" mi_step_to "do_block_tests" "" "var-cmd.c" \ [gdb_get_line_number "foo2 =3D 123;"] \ - "step at do_block_test" + "step at do_block_test 2" =20 # Test: c_variable-3.4 # Desc: check foo, cb changed @@ -78,7 +78,7 @@ mi_gdb_test "-var-update *" \ # step to "foo =3D 321;" mi_step_to "do_block_tests" "" "var-cmd.c" \ [gdb_get_line_number "foo =3D 321;"] \ - "step at do_block_test" + "step at do_block_test 3" =20 # Test: c_variable-3.5 # Desc: create inner block foo @@ -87,7 +87,7 @@ mi_create_varobj "inner_foo" "foo" "create local variable= inner_foo" # step to "foo2 =3D 0;" mi_step_to "do_block_tests" "" "var-cmd.c" \ [gdb_get_line_number "foo2 =3D 0;"] \ - "step at do_block_test" + "step at do_block_test 4" =20 # Test: c_variable-3.6 # Desc: create foo2 @@ -119,7 +119,7 @@ mi_gdb_test "-var-delete inner_foo" \ # step to "foo =3D 0;" mi_step_to "do_block_tests" "" "var-cmd.c" \ [gdb_get_line_number "foo =3D 0;"] \ - "step at do_block_test" + "step at do_block_test 5" =20 # Test: c_variable-3.8 # Desc: check that foo2 out of scope (known gdb problem) @@ -132,7 +132,7 @@ clear_xfail *-*-* # step to "cb =3D 21;" mi_step_to "do_block_tests" "" "var-cmd.c" \ [gdb_get_line_number "cb =3D 21;"] \ - "step at do_block_test" + "step at do_block_test 6" =20 # Test: c_variable-3.9 # Desc: check that only cb is in scope (known gdb problem) @@ -159,7 +159,7 @@ mi_gdb_test "-var-update cb" \ # Done with block tests mi_gdb_test "-var-delete foo" \ "\\^done,ndeleted=3D\"1\"" \ - "delete var foo" + "delete var foo 2" =20 mi_gdb_test "-var-delete foo2" \ "\\^done,ndeleted=3D\"1\"" \ --=-D8YjrXaB7f8+Wjs2nV7/--