From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30155 invoked by alias); 26 Apr 2010 15:15:48 -0000 Received: (qmail 30131 invoked by uid 22791); 26 Apr 2010 15:15:47 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,MSGID_MULTIPLE_AT X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.153) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 26 Apr 2010 15:15:43 +0000 Received: from baal.u-strasbg.fr (baal.u-strasbg.fr [IPv6:2001:660:2402::41]) by mailhost.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id o3QFFZTk094186 ; Mon, 26 Apr 2010 17:15:35 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from mailserver.u-strasbg.fr (ms2.u-strasbg.fr [IPv6:2001:660:2402:d::11]) by baal.u-strasbg.fr (8.14.0/jtpda-5.5pre1) with ESMTP id o3QFFYIw006332 ; Mon, 26 Apr 2010 17:15:34 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from d620muller (gw-ics.u-strasbg.fr [130.79.210.225]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id o3QFFY3M027506 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) ; Mon, 26 Apr 2010 17:15:34 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) From: "Pierre Muller" To: "'Jan Kratochvil'" , Cc: "'Pierre Muller'" References: <20100426150803.GA10434@host0.dyn.jankratochvil.net> In-Reply-To: <20100426150803.GA10434@host0.dyn.jankratochvil.net> Subject: RE: [patch] testsuite: gdb.pascal/gdb11492.exp ERROR: Process no longer exists Date: Mon, 26 Apr 2010 15:15:00 -0000 Message-ID: <006c01cae553$582c1250$088436f0$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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/msg00874.txt.bz2 > -----Message d'origine----- > De=A0: gdb-patches-owner@sourceware.org [mailto:gdb-patches- > owner@sourceware.org] De la part de Jan Kratochvil > Envoy=E9=A0: Monday, April 26, 2010 5:08 PM > =C0=A0: gdb-patches@sourceware.org > Cc=A0: Pierre Muller > Objet=A0: [patch] testsuite: gdb.pascal/gdb11492.exp ERROR: Process no > longer exists >=20 > Hi, >=20 > 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 I am not getting this error on Cygwin, but I was able to reproduce the problem on gcc16. =20 > while I do not understand the reasons I am used to write testcases this > way > and it also fixes this case. Approved, thanks for finding and fixing this. Pierre Pascal language support maintainer for GDB =20 > Thanks, > Jan >=20 >=20 > gdb/testsuite/ > 2010-04-26 Jan Kratochvil >=20 > * gdb.pascal/gdb11492.exp (print integer_array, print /d > char_array) > (print /x char_array): Escape curly brackets. >=20 > --- 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" "" >=20 > -gdb_test "print integer_array" " =3D {50, 51, 52, 53, 54, 55, 56, 57}" > +gdb_test "print integer_array" { =3D \{50, 51, 52, 53, 54, 55, 56, 57\}} > gdb_test "print /s integer_array" " =3D '23456789'" >=20 > gdb_test "print char_array" " =3D '23456789'" > -gdb_test "print /d char_array" " =3D {50, 51, 52, 53, 54, 55, 56, 57}" > -gdb_test "print /x char_array" " =3D {0x32, 0x33, 0x34, 0x35, 0x36, > 0x37, 0x38, 0x39}" > +gdb_test "print /d char_array" { =3D \{50, 51, 52, 53, 54, 55, 56, 57\}} > +gdb_test "print /x char_array" { =3D \{0x32, 0x33, 0x34, 0x35, 0x36, > 0x37, 0x38, 0x39\}} > # Use next two times to avoid GPC line numbering problem > gdb_test "next" "" > gdb_test "next" ""