diff options
author | Alan Hayward <alan.hayward@arm.com> | 2019-08-14 15:47:05 +0100 |
---|---|---|
committer | Alan Hayward <alan.hayward@arm.com> | 2019-08-14 15:58:21 +0100 |
commit | 75faf5c41d7fc713b73cbb3523dcc6ca3855f98e (patch) | |
tree | 13c3e9db418c097aac541e71db336d8c85289d7b /gdb/ctf.c | |
parent | b1c896b365f2dbcd14145a88d103623244cf0fb0 (diff) | |
download | gdb-75faf5c41d7fc713b73cbb3523dcc6ca3855f98e.zip gdb-75faf5c41d7fc713b73cbb3523dcc6ca3855f98e.tar.gz gdb-75faf5c41d7fc713b73cbb3523dcc6ca3855f98e.tar.bz2 |
AArch64: Allow additional sizes in prologue
When saving registers to the stack at the start of a function, not all state
needs to be saved. For example, only the first 64bits of float registers need
saving. However, a program may choose to store extra state if it wishes,
there is nothing preventing it doing so.
The aarch64_analyze_prologue will error if it detects extra state being
stored. Relex this restriction.
Tested via aarch64-prologue test.
gdb/ChangeLog:
* aarch64-tdep.c (aarch64_analyze_prologue): Allow any valid
register sizes.
gdb/testsuite/ChangeLog:
* gdb.arch/aarch64-prologue.c: New test.
* gdb.arch/aarch64-prologue.exp: New file.
Diffstat (limited to 'gdb/ctf.c')
0 files changed, 0 insertions, 0 deletions