This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 3/8] [AArch64] Only access inferior registers when creating a frame cache
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Pierre Langlois <pierre dot langlois at arm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 08 Jul 2015 17:15:36 +0100
- Subject: Re: [PATCH 3/8] [AArch64] Only access inferior registers when creating a frame cache
- Authentication-results: sourceware.org; auth=none
- References: <1436273518-5959-1-git-send-email-pierre dot langlois at arm dot com> <1436273518-5959-4-git-send-email-pierre dot langlois at arm dot com>
Pierre Langlois <pierre.langlois@arm.com> writes:
> gdb/ChangeLog:
>
> * aarch64-tdep.c (aarch64_prologue_cache) <func, prev_pc>: New
> fields.
> (aarch64_scan_prologue): Set prev_pc.
> (aarch64_make_prologue_cache): Set func.
> (aarch64_make_stub_cache): Set prev_pc.
>
> (aarch64_prologue_this_id): Remove local variables id, pc and
> func. Read prev_pc and func from cache.
> (aarch64_stub_this_id): Read prev_pc from cache.
It is OK to me.
--
Yao (éå)