From patchwork Mon Oct 13 09:15:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajit Kumar Agarwal X-Patchwork-Id: 3213 Received: (qmail 27604 invoked by alias); 13 Oct 2014 09:15:26 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 27591 invoked by uid 89); 13 Oct 2014 09:15:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 X-HELO: na01-bl2-obe.outbound.protection.outlook.com Received: from mail-bl2on0099.outbound.protection.outlook.com (HELO na01-bl2-obe.outbound.protection.outlook.com) (65.55.169.99) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Mon, 13 Oct 2014 09:15:24 +0000 Received: from BY2FFO11FD033.protection.gbl (10.1.14.31) by BY2FFO11HUB049.protection.gbl (10.1.14.88) with Microsoft SMTP Server (TLS) id 15.0.1039.16; Mon, 13 Oct 2014 09:15:20 +0000 Received: from xsj-pvapsmtpgw01 (149.199.60.83) by BY2FFO11FD033.mail.protection.outlook.com (10.1.14.218) with Microsoft SMTP Server (TLS) id 15.0.1039.16 via Frontend Transport; Mon, 13 Oct 2014 09:15:20 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-smtp1) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1Xdbh5-0005hH-4g; Mon, 13 Oct 2014 02:13:31 -0700 From: Ajit Kumar Agarwal To: Pedro Alves , "gdb-patches@sourceware.org" CC: Vinod Kathail , Vidhumouli Hunsigida , Nagaraju Mekala Subject: [PATCH] Microblaze: Replace microblaze-expedite from pc to rpc. Date: Mon, 13 Oct 2014 09:15:17 +0000 MIME-Version: 1.0 X-RCIS-Action: ALLOW Message-ID: <834b5a4a6940422b95f7e1e50b5d1bec@BY2FFO11FD033.protection.gbl> X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:149.199.60.83; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(438002)(189002)(199003)(377424004)(120916001)(74316001)(4396001)(99396003)(71186001)(21056001)(108616004)(46102003)(19580405001)(20776003)(64706001)(6806004)(86362001)(104016003)(107046002)(229853001)(54356999)(19580395003)(512954002)(76482002)(77096002)(31966008)(87936001)(95666004)(85852003)(85306004)(99936001)(568964001)(80022003)(53416004)(44976005)(2656002)(92566001)(84326002)(50986999)(106466001)(575784001)(24736002)(23106004); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2FFO11HUB049; H:xsj-pvapsmtpgw01; FPR:; MLV:sfv; PTR:unknown-60-83.xilinx.com; MX:1; A:1; LANG:en; X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BY2FFO11HUB049; X-Exchange-Antispam-Report-Test: UriScan:; X-Forefront-PRVS: 03630A6A4A Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=ajit.kumar.agarwal@xilinx.com; X-OriginatorOrg: xilinx.com Please find the patch below based on Pedro suggestions. Microblaze: Replace microblaze-expedite from pc to rpc. Replace microblaze-expedite from pc to rpc. The makefile and the following commands are used to create microblaze-with-stack-protect.dat. make ../regformats/microblaze-with-stack-protect.dat gdb/ 2014-10-13 Ajit Agarwal * features/Makefile (microblaze-expedite): Replace microblaze-expediate from pc to rpc. * regformats/microblaze-with-stack-protect.dat: Created using Makefile. Signed-off-by:Ajit Agarwal ajitkum@xilinx.com --- gdb/features/Makefile | 2 +- gdb/regformats/microblaze-with-stack-protect.dat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 1.7.1 diff --git a/gdb/features/Makefile b/gdb/features/Makefile index c17157b..7708f5b 100644 --- a/gdb/features/Makefile +++ b/gdb/features/Makefile @@ -103,7 +103,7 @@ mips-expedite = r29,pc mips-dsp-expedite = r29,pc mips64-expedite = r29,pc mips64-dsp-expedite = r29,pc -microblaze-expedite = r1,pc +microblaze-expedite = r1,rpc nios2-linux-expedite = sp,pc powerpc-expedite = r1,pc rs6000/powerpc-cell32l-expedite = r1,pc,r0,orig_r3,r4 diff --git a/gdb/regformats/microblaze-with-stack-protect.dat b/gdb/regformats/microblaze-with-stack-protect.dat index 5ce0c24..8040a7b 100644 --- a/gdb/regformats/microblaze-with-stack-protect.dat +++ b/gdb/regformats/microblaze-with-stack-protect.dat @@ -2,7 +2,7 @@ # Generated from: microblaze-with-stack-protect.xml name:microblaze_with_stack_protect xmltarget:microblaze-with-stack-protect.xml -expedite:r1,pc +expedite:r1,rpc 32:r0 32:r1 32:r2