From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26668 invoked by alias); 22 Jan 2014 19:18:27 -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 26656 invoked by uid 89); 22 Jan 2014 19:18:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: e24smtp02.br.ibm.com Received: from e24smtp02.br.ibm.com (HELO e24smtp02.br.ibm.com) (32.104.18.86) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 22 Jan 2014 19:18:23 +0000 Received: from /spool/local by e24smtp02.br.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 22 Jan 2014 17:18:17 -0200 Received: from d24dlp02.br.ibm.com (9.18.248.206) by e24smtp02.br.ibm.com (10.172.0.142) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 22 Jan 2014 17:18:14 -0200 Received: from d24relay03.br.ibm.com (d24relay03.br.ibm.com [9.13.184.25]) by d24dlp02.br.ibm.com (Postfix) with ESMTP id A62401DC0063 for ; Wed, 22 Jan 2014 14:18:13 -0500 (EST) Received: from d24av03.br.ibm.com (d24av03.br.ibm.com [9.8.31.95]) by d24relay03.br.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s0MJHeOA28049474 for ; Wed, 22 Jan 2014 17:17:41 -0200 Received: from d24av03.br.ibm.com (localhost [127.0.0.1]) by d24av03.br.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s0MJICfB011394 for ; Wed, 22 Jan 2014 17:18:12 -0200 Received: from grandaddy.br.ibm.com (grandaddy.br.ibm.com [9.18.235.190]) by d24av03.br.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id s0MJICLY011389 for ; Wed, 22 Jan 2014 17:18:12 -0200 From: Edjunior Barbosa Machado To: gdb-patches@sourceware.org Subject: [PATCH] testsuite: info-shared.exp: Expect leading dot on ppc64's symbols Date: Wed, 22 Jan 2014 19:18:00 -0000 Message-Id: <1390418283-11267-1-git-send-email-emachado@linux.vnet.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14012219-2194-0000-0000-000007B2D7C6 X-IsSubscribed: yes X-SW-Source: 2014-01/txt/msg00878.txt.bz2 Hi, With this patch, the testcase permits the leading `.' found on ppc64's symbols. It fixes 10 false unexpected failures on ppc64. Ok? Thanks, Edjunior. gdb/testsuite/ 2014-01-22 Edjunior Barbosa Machado * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols. --- gdb/testsuite/gdb.base/info-shared.exp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/gdb/testsuite/gdb.base/info-shared.exp b/gdb/testsuite/gdb.base/info-shared.exp index b7be174..a7cbe1d 100644 --- a/gdb/testsuite/gdb.base/info-shared.exp +++ b/gdb/testsuite/gdb.base/info-shared.exp @@ -89,18 +89,18 @@ gdb_breakpoint "foo" allow-pending gdb_breakpoint "bar" allow-pending # Run to the first stop and check that only the first library is loaded. -gdb_continue_to_breakpoint "library load #1" "stop .*" +gdb_continue_to_breakpoint "library load #1" "\\.?stop .*" check_info_shared "info sharedlibrary #2" 1 0 # Run to the second stop and check that both libraries are loaded. -gdb_continue_to_breakpoint "library load #2" "stop .*" +gdb_continue_to_breakpoint "library load #2" "\\.?stop .*" check_info_shared "info sharedlibrary #3" 1 1 # Check that the next stop is in foo. -gdb_continue_to_breakpoint "library function #1" "foo .*" +gdb_continue_to_breakpoint "library function #1" "\\.?foo .*" # Check that the next stop is in bar. -gdb_continue_to_breakpoint "library function #2" "bar .*" +gdb_continue_to_breakpoint "library function #2" "\\.?bar .*" # Restart the inferior and make sure there are no breakpoint reset # errors. These can happen with the probes-based runtime linker @@ -124,23 +124,23 @@ gdb_test_multiple "" $test { check_info_shared "info sharedlibrary #4" 0 0 # Run to the first stop and check that only the first library is loaded. -gdb_continue_to_breakpoint "library load #3" "stop .*" +gdb_continue_to_breakpoint "library load #3" "\\.?stop .*" check_info_shared "info sharedlibrary #5" 1 0 # Run to the second stop and check that both libraries are loaded. -gdb_continue_to_breakpoint "library load #4" "stop .*" +gdb_continue_to_breakpoint "library load #4" "\\.?stop .*" check_info_shared "info sharedlibrary #6" 1 1 # Check that the next stop is in foo. -gdb_continue_to_breakpoint "library function #3" "foo .*" +gdb_continue_to_breakpoint "library function #3" "\\.?foo .*" # Check that the next stop is in bar. -gdb_continue_to_breakpoint "library function #4" "bar .*" +gdb_continue_to_breakpoint "library function #4" "\\.?bar .*" # Run to the next stop and check that the first library has been unloaded. -gdb_continue_to_breakpoint "library unload #1" "stop .*" +gdb_continue_to_breakpoint "library unload #1" "\\.?stop .*" check_info_shared "info sharedlibrary #7" 0 1 # Run to the last stop and check that both libraries are gone. -gdb_continue_to_breakpoint "library unload #2" "stop .*" +gdb_continue_to_breakpoint "library unload #2" "\\.?stop .*" check_info_shared "info sharedlibrary #8" 0 0 -- 1.8.1.4