From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 93934 invoked by alias); 23 Jun 2015 18:44:00 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 92717 invoked by uid 89); 23 Jun 2015 18:44:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: e32.co.us.ibm.com Received: from e32.co.us.ibm.com (HELO e32.co.us.ibm.com) (32.97.110.150) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Tue, 23 Jun 2015 18:43:59 +0000 Received: from /spool/local by e32.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 23 Jun 2015 12:43:57 -0600 Received: from d03dlp01.boulder.ibm.com (9.17.202.177) by e32.co.us.ibm.com (192.168.1.132) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 23 Jun 2015 12:43:55 -0600 X-MailFrom: bergner@vnet.ibm.com X-RcptTo: gdb@sourceware.org Received: from b03cxnp07029.gho.boulder.ibm.com (b03cxnp07029.gho.boulder.ibm.com [9.17.130.16]) by d03dlp01.boulder.ibm.com (Postfix) with ESMTP id 361051FF002E for ; Tue, 23 Jun 2015 12:35:04 -0600 (MDT) Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by b03cxnp07029.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t5NIhsW748103658 for ; Tue, 23 Jun 2015 11:43:54 -0700 Received: from d03av03.boulder.ibm.com (localhost [127.0.0.1]) by d03av03.boulder.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t5NIhsOI030835 for ; Tue, 23 Jun 2015 12:43:54 -0600 Received: from [9.49.150.184] (sig-9-49-150-184.ibm.com [9.49.150.184]) by d03av03.boulder.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t5NIhrbA030754; Tue, 23 Jun 2015 12:43:53 -0600 Subject: [PATCH, COMMITTED] Fix PPC rfebb test case results From: Peter Bergner To: gdb Content-Type: text/plain; charset="UTF-8" Date: Tue, 23 Jun 2015 18:44:00 -0000 Message-ID: <1435085032.5416.48.camel@otta> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15062318-0005-0000-0000-0000105A036C X-SW-Source: 2015-06/txt/msg00070.txt.bz2 My gas patch in the URL below fixed a problem with the assembly and disassembly of the rfebb instruction: https://sourceware.org/ml/binutils/2015-06/msg00190.html This patch updates the gdb test suite to match the new disassembly behavior. Committed as obvious. Peter gdb/testsuite/ * gdb.arch/powerpc-power.exp : Fixup test results. * gdb.arch/powerpc-power.s : Likewise. diff --git a/gdb/testsuite/gdb.arch/powerpc-power.exp b/gdb/testsuite/gdb.arch/powerpc-power.exp index 15a59dd..96d623f 100644 --- a/gdb/testsuite/gdb.arch/powerpc-power.exp +++ b/gdb/testsuite/gdb.arch/powerpc-power.exp @@ -194,8 +194,8 @@ func_check +500 "treclaim. r24" func_check +504 "trechkpt." func_check +508 "tsuspend." func_check +512 "tresume." -func_check +516 "rfebb" -func_check +520 "rfebb 1" +func_check +516 "rfebb 0" +func_check +520 "rfebb" func_check +524 "bctar- 12,4\\*cr5\\+gt" func_check +528 "bctarl- 4,4\\*cr1\\+so" func_check +532 "bctar\\+ 12,4\\*cr3\\+lt" diff --git a/gdb/testsuite/gdb.arch/powerpc-power.s b/gdb/testsuite/gdb.arch/powerpc-power.s index 335e35b..ed17b2e 100644 --- a/gdb/testsuite/gdb.arch/powerpc-power.s +++ b/gdb/testsuite/gdb.arch/powerpc-power.s @@ -147,7 +147,7 @@ func: .long 0x7c0007dd /* <+504>: trechkpt. */ .long 0x7c0005dd /* <+508>: tsuspend. */ .long 0x7c2005dd /* <+512>: tresume. */ - .long 0x4c000124 /* <+516>: rfebb */ + .long 0x4c000124 /* <+516>: rfebb 0 */ .long 0x4c000924 /* <+520>: rfebb 1 */ .long 0x4d950460 /* <+524>: bctar- 12,4*cr5+gt */ .long 0x4c870461 /* <+528>: bctarl- 4,4*cr1+so */