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


Kevin Buettner <kevinb@redhat.com> writes:

> 1) Is there an existing generic mechanism that I should be using?

Hi Kevin,
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.

-- 
Yao (éå)


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