From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 45533 invoked by alias); 20 Jul 2015 22:42:25 -0000 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 Received: (qmail 45522 invoked by uid 89); 20 Jul 2015 22:42:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 20 Jul 2015 22:42:24 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 0DAD029330D; Mon, 20 Jul 2015 22:42:23 +0000 (UTC) Received: from localhost (unused-10-15-17-51.yyz.redhat.com [10.15.17.51]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t6KMgMZt023895 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 20 Jul 2015 18:42:22 -0400 From: Sergio Durigan Junior To: Joel Brobecker Cc: Pierre-Marie de Rodat , Pedro Alves , GDB Patches Subject: Re: [PATCH] Share the "multi_line" helper among all Ada testcases References: <54FEDB92.9060808@adacore.com> <20150317200809.GD7494@adacore.com> <5509492C.5000604@redhat.com> <20150318141238.GE7494@adacore.com> <550C100D.5000500@adacore.com> <87oajas3pb.fsf@redhat.com> <55AD0A6E.6060604@adacore.com> <87r3o2rgeh.fsf@redhat.com> <20150720222317.GH7406@adacore.com> X-URL: http://blog.sergiodj.net Date: Mon, 20 Jul 2015 22:42:00 -0000 In-Reply-To: <20150720222317.GH7406@adacore.com> (Joel Brobecker's message of "Mon, 20 Jul 2015 15:23:17 -0700") Message-ID: <87egk2bgdt.fsf@redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg00577.txt.bz2 On Monday, July 20 2015, Joel Brobecker wrote: >> > --- a/gdb/testsuite/gdb.ada/info_exc.exp >> > +++ b/gdb/testsuite/gdb.ada/info_exc.exp >> > @@ -34,9 +34,7 @@ gdb_test "info exceptions" \ >> > "program_error: $hex" \ >> > "storage_error: $hex" \ >> > "tasking_error: $hex" \ >> > - ".*" \ >> > - "const.aint_global_gdb_e: $hex" \ >> > - ".*"] >> > + "\(.*\r\n\)*const.aint_global_gdb_e: $hex\(.*\r\n\)*"] >> > >> > gdb_test "info exceptions task" \ >> > [multi_line "All Ada exceptions matching regular expression >> > \"task\":" \ > > I missed that answer, and came up with something very similar, > which I checked in. Here it is: Thanks, Joel and Pierre! -- Sergio GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36 Please send encrypted e-mail if possible http://sergiodj.net/