[AArch64] Refactor aarch64_make_stub_cache
authorPierre Langlois <pierre.langlois@arm.com>
Thu, 9 Jul 2015 15:35:10 +0000 (16:35 +0100)
committerPierre Langlois <pierre.langlois@arm.com>
Thu, 9 Jul 2015 15:35:10 +0000 (16:35 +0100)
commit8b61f75db53877215c7cb15b901a094bf1fb916e
tree8b226a9b203e20218efd08b530928babf92e262d
parent7c8edfae86385f922dca6ef1ab7c7d378d4fd30f
[AArch64] Refactor aarch64_make_stub_cache

We would previously have to make sure the frame cache was not already
created before calling aarch64_make_stub_cache.  This patch makes this
function check it so the caller does not need to do so.

gdb/ChangeLog:

* aarch64-tdep.c (aarch64_make_stub_cache): Update comment.  New
argument this_cache.  Remove unused local variables reg and
unwound_fp.  Return early if this_cache is already set.  Set
this_cache.
(aarch64_stub_this_id): Update call to aarch64_make_stub_cache.
gdb/ChangeLog
gdb/aarch64-tdep.c
This page took 0.02637 seconds and 4 git commands to generate.