diff options
author | Pierre Langlois <pierre.langlois@arm.com> | 2015-07-09 16:35:10 +0100 |
---|---|---|
committer | Pierre Langlois <pierre.langlois@arm.com> | 2015-07-09 16:35:10 +0100 |
commit | 7c8edfae86385f922dca6ef1ab7c7d378d4fd30f (patch) | |
tree | bdeefbdafc371feee1d91747f941aa34a6a4a33c /libiberty/argv.c | |
parent | 3350cc01deccb8289c1c26938628f996df3e390c (diff) | |
download | gdb-7c8edfae86385f922dca6ef1ab7c7d378d4fd30f.zip gdb-7c8edfae86385f922dca6ef1ab7c7d378d4fd30f.tar.gz gdb-7c8edfae86385f922dca6ef1ab7c7d378d4fd30f.tar.bz2 |
[AArch64] Refactor aarch64_make_prologue_cache
We would previously have to make sure the frame cache was not already
created before calling aarch64_make_prologue_cache. This patch makes
this function check it so that the caller does not need to do so.
gdb/ChangeLog:
* aarch64-tdep.c (aarch64_make_prologue_cache): Update comment.
New argument this_cache. Return early if this_cache is already
set. Set this_cache.
(aarch64_prologue_this_id): Update call to
aarch64_make_prologue_cache.
(aarch64_prologue_prev_register): Likewise.
(aarch64_normal_frame_base): Likewise.
Diffstat (limited to 'libiberty/argv.c')
0 files changed, 0 insertions, 0 deletions