From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19411 invoked by alias); 26 Apr 2010 15:08:15 -0000 Received: (qmail 19304 invoked by uid 22791); 26 Apr 2010 15:08:14 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 26 Apr 2010 15:08:09 +0000 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3QF87gP009632 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 26 Apr 2010 11:08:07 -0400 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3QF84vc015930 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 26 Apr 2010 11:08:06 -0400 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id o3QF84jj010498; Mon, 26 Apr 2010 17:08:04 +0200 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id o3QF83Vg010497; Mon, 26 Apr 2010 17:08:03 +0200 Date: Mon, 26 Apr 2010 15:08:00 -0000 From: Jan Kratochvil To: gdb-patches@sourceware.org Cc: Pierre Muller Subject: [patch] testsuite: gdb.pascal/gdb11492.exp ERROR: Process no longer exists Message-ID: <20100426150803.GA10434@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-08-17) X-IsSubscribed: yes 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: 2010-04/txt/msg00873.txt.bz2 Hi, getting Running ./gdb.pascal/gdb11492.exp ... ERROR: Process no longer exists ERROR: Process no longer exists ERROR: Process no longer exists expect-5.43.0-19.fc12.x86_64 dejagnu-1.4.4-17.fc12.noarch while I do not understand the reasons I am used to write testcases this way and it also fixes this case. Thanks, Jan gdb/testsuite/ 2010-04-26 Jan Kratochvil * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array) (print /x char_array): Escape curly brackets. --- a/gdb/testsuite/gdb.pascal/gdb11492.exp +++ b/gdb/testsuite/gdb.pascal/gdb11492.exp @@ -46,12 +46,12 @@ if { [gdb_start_cmd] < 0 } { gdb_test "" ".* at .*${srcfile}.*" "start" gdb_test "continue" "" -gdb_test "print integer_array" " = {50, 51, 52, 53, 54, 55, 56, 57}" +gdb_test "print integer_array" { = \{50, 51, 52, 53, 54, 55, 56, 57\}} gdb_test "print /s integer_array" " = '23456789'" gdb_test "print char_array" " = '23456789'" -gdb_test "print /d char_array" " = {50, 51, 52, 53, 54, 55, 56, 57}" -gdb_test "print /x char_array" " = {0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39}" +gdb_test "print /d char_array" { = \{50, 51, 52, 53, 54, 55, 56, 57\}} +gdb_test "print /x char_array" { = \{0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39\}} # Use next two times to avoid GPC line numbering problem gdb_test "next" "" gdb_test "next" ""