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] Implement a simple "frame type" cache for Renesas RX


On Mon, 06 Jul 2015 17:33:16 +0100
Yao Qi <qiyaoltc@gmail.com> wrote:

> Kevin Buettner <kevinb@redhat.com> writes:
> 
> > 1) Is there an existing generic mechanism that I should be using?
> 
> Did you use general "code cache" stuff in GDB?  see
> target.c:target_read_code, which reads target's code and cache them.
> Nowadays, we only use target_read_code in x86 and x86_64, and it
> improves the performance of parsing prologue to some extent.

Thank you for this suggestion.

My testing shows that target_read_code() handles this problem
quite nicely.

I'm withdrawing this patch from consideration and will instead
commit a much simpler patch which uses target_read_code()
instead.

Thanks again,

Kevin


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