aboutsummaryrefslogtreecommitdiff
path: root/libiberty/regex.c
diff options
context:
space:
mode:
authorPierre Langlois <pierre.langlois@arm.com>2015-07-09 16:35:11 +0100
committerPierre Langlois <pierre.langlois@arm.com>2015-07-09 16:35:11 +0100
commitdb634143224dc7cb985d996bed15257f5cb86b25 (patch)
tree8a61791a078521cfbbd8c57ed7640bb0768c3632 /libiberty/regex.c
parent8b61f75db53877215c7cb15b901a094bf1fb916e (diff)
downloadgdb-db634143224dc7cb985d996bed15257f5cb86b25.zip
gdb-db634143224dc7cb985d996bed15257f5cb86b25.tar.gz
gdb-db634143224dc7cb985d996bed15257f5cb86b25.tar.bz2
[AArch64] Only access inferior registers when creating a frame cache
This patch moves the address of the start of a function (func) and the address from which it was called (prev_pc) into aarch64_prologue_cache. The idea is to keep accesses to the inferior's registers into aarch64_make_prologue_cache and aarch64_make_stub_cache. 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.
Diffstat (limited to 'libiberty/regex.c')
0 files changed, 0 insertions, 0 deletions