This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Implement a simple "frame type" cache for Renesas RX
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Kevin Buettner <kevinb at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 06 Jul 2015 17:33:16 +0100
- Subject: Re: [PATCH] Implement a simple "frame type" cache for Renesas RX
- Authentication-results: sourceware.org; auth=none
- References: <20150702191958 dot 0f5ed4c7 at pinnacle dot lan>
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 (éå)