This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, microblaze]: Communicate in larger blocks with the target.


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.    
>>
>>  [Patch, microblaze]: Communicate in larger blocks with the target.
>>     
>>     Communicate in larger blocks with the target. The chunk of memory
>>     will be read from the target and then used in microblaze_analyze_prologue.
>>     The above process minimizes the transaction with the Debug Agent.
> 
> We have core infrustructure for this now, in the form of a
> code cache that reads ahead.  Could you try using it?
> All you have to do is replace target_read_memory calls that are
> actually reading code, with target_read_code calls.  See i386-tdep.c
> 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 necessary.

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]