From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1117 invoked by alias); 17 Jun 2014 16:49:56 -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 1105 invoked by uid 89); 17 Jun 2014 16:49:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: na01-by2-obe.outbound.protection.outlook.com Received: from mail-by2lp0243.outbound.protection.outlook.com (HELO na01-by2-obe.outbound.protection.outlook.com) (207.46.163.243) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 17 Jun 2014 16:49:53 +0000 Received: from BY2FFO11FD033.protection.gbl (10.1.14.32) by BY2FFO11HUB006.protection.gbl (10.1.14.164) with Microsoft SMTP Server (TLS) id 15.0.959.15; Tue, 17 Jun 2014 16:49:50 +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.959.15 via Frontend Transport; Tue, 17 Jun 2014 16:49:50 +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 1WwwaB-0005yl-Ak; Tue, 17 Jun 2014 09:50:03 -0700 From: Ajit Kumar Agarwal To: Pedro Alves , "gdb-patches@sourceware.org" CC: Michael Eager , Vinod Kathail , Vidhumouli Hunsigida , Nagaraju Mekala Subject: RE: [Patch, microblaze]: Communicate in larger blocks with the target. Date: Tue, 17 Jun 2014 16:49:00 -0000 References: <41df2189-0a72-4543-ba31-297f81e663d7@BN1AFFO11FD025.protection.gbl> <53A04753.5010102@redhat.com> <53A06E16.2020603@redhat.com> In-Reply-To: <53A06E16.2020603@redhat.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-RCIS-Action: ALLOW Message-ID: <6e827cdb-8f1d-4341-9891-78a471a4d14f@BY2FFO11FD033.protection.gbl> X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:149.199.60.83;CTRY:US;IPV:NLI;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(6009001)(438001)(189002)(199002)(377454003)(479174003)(24454002)(13464003)(51704005)(31966008)(23726002)(70736001)(74662001)(74502001)(19580405001)(19580395003)(44976005)(6806004)(83322001)(97756001)(46406003)(86362001)(50466002)(74316001)(92726001)(92566001)(81342001)(31696002)(81542001)(85852003)(83072002)(21056001)(2656002)(87936001)(79102001)(64706001)(47776003)(20776003)(99396002)(77982001)(80022001)(54356999)(50986999)(76176999)(4396001)(95666004)(46102001)(104016002)(77096002)(85306003)(551934003)(53416004)(33646001)(1496007)(76482001);DIR:OUT;SFP:;SCL:1;SRVR:BY2FFO11HUB006;H:xsj-pvapsmtpgw01;FPR:;MLV:sfv;PTR:unknown-60-83.xilinx.com;MX:1;A:1;LANG:en; X-OriginatorOrg: xilinx.onmicrosoft.com X-Microsoft-Antispam: BL:0;ACTION:Default;RISK:Low;SCL:0;SPMLVL:NotSpam;PCL:0;RULEID: X-Forefront-PRVS: 0245702D7B Received-SPF: Pass (: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=; 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-SW-Source: 2014-06/txt/msg00623.txt.bz2 -----Original Message----- From: Pedro Alves [mailto:palves@redhat.com]=20 Sent: Tuesday, June 17, 2014 10:05 PM To: Pedro Alves; Ajit Kumar Agarwal; gdb-patches@sourceware.org Cc: Michael Eager; Vinod Kathail; Vidhumouli Hunsigida; Nagaraju Mekala Subject: Re: [Patch, microblaze]: Communicate in larger blocks with the tar= get. On 06/17/2014 02:49 PM, Pedro Alves wrote: > On 06/17/2014 10:03 AM, Ajit Kumar Agarwal wrote: >> Please find the following patch.=20=20=20=20 >> >> [Patch, microblaze]: Communicate in larger blocks with the target. >>=20=20=20=20=20 >> Communicate in larger blocks with the target. The chunk of memory >> will be read from the target and then used in microblaze_analyze_pro= logue. >> The above process minimizes the transaction with the Debug Agent. >=20 > We have core infrustructure for this now, in the form of a code cache=20 > that reads ahead. Could you try using it? > All you have to do is replace target_read_memory calls that are=20 > actually reading code, with target_read_code calls. See i386-tdep.c=20 > for example. >>To be clear, I'm not talking about changing the new calls in your patch, = but instead, to change the existing calls. Then your patch won't be necess= ary. Thanks Pedro !!. Would you mind explaining this in detail. -- Pedro Alves