From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27326 invoked by alias); 27 Nov 2010 22:09:06 -0000 Received: (qmail 27307 invoked by uid 22791); 27 Nov 2010 22:09:05 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.9) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 27 Nov 2010 22:08:59 +0000 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id B02C31C08CF0; Sat, 27 Nov 2010 23:08:56 +0100 (CET) Received: from igel.home (ppp-88-217-99-182.dynamic.mnet-online.de [88.217.99.182]) by mail.mnet-online.de (Postfix) with ESMTP id 7211F1C00366; Sat, 27 Nov 2010 23:08:56 +0100 (CET) Received: by igel.home (Postfix, from userid 501) id 1D5B7CA2A0; Sat, 27 Nov 2010 23:08:56 +0100 (CET) From: Andreas Schwab To: Jan Kratochvil Cc: Luis Machado , gdb-patches@sourceware.org, Pedro Alves , Edjunior Barbosa Machado Subject: Re: [PATCH] testcases: Fix assorted problems related to powerpc References: <1285767241.3709.3.camel@gargoyle> <20101109044704.GA24214@host0.dyn.jankratochvil.net> X-Yow: Hand me a pair of leather pants and a CASIO keyboard -- I'm living for today! Date: Sat, 27 Nov 2010 22:09:00 -0000 In-Reply-To: <20101109044704.GA24214@host0.dyn.jankratochvil.net> (Jan Kratochvil's message of "Tue, 9 Nov 2010 05:47:05 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-11/txt/msg00472.txt.bz2 Jan Kratochvil writes: > --- src/gdb/testsuite/gdb.base/watchpoint.exp 2010/09/04 15:30:09 1.31 > +++ src/gdb/testsuite/gdb.base/watchpoint.exp 2010/11/09 04:44:17 1.32 > @@ -683,7 +683,13 @@ > "$watchpoint_msg \[0-9\]+: \\*\\(int \\*\\) 0" > delete_breakpoints > > - gdb_test "watch *global_ptr" "$watchpoint_msg \[0-9\]+: \\*global_ptr" > + # This step requires two HW watchpoints. Since PPC Server only has > + # a single one, it will use a SW watchpoint in this case. > + if [istarget powerpc64-*] { Why powerpc64? > + set watchpoint_msg "Watchpoint" > + } > + > + gdb_test "watch *global_ptr" "$watchpoint_msg \[0-9\]+: \\\*global_ptr" That has an extra backslash. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."