[PATCH 2/8] [AArch64] Refactor aarch64_make_stub_cache
Yao Qi
qiyaoltc@gmail.com
Wed Jul 8 16:10:00 GMT 2015
Pierre Langlois <pierre.langlois@arm.com> writes:
> static struct aarch64_prologue_cache *
> -aarch64_make_stub_cache (struct frame_info *this_frame)
> +aarch64_make_stub_cache (struct frame_info *this_frame, void **this_cache)
> {
We need comments on this function, about its arguments and return value.
> - int reg;
> struct aarch64_prologue_cache *cache;
> - CORE_ADDR unwound_fp;
> +
> + if (*this_cache)
if (*this_cache != NULL)
> + return *this_cache;
OK with these changes.
--
Yao (齐尧)
More information about the Gdb-patches
mailing list