diff options
author | Luis Machado <luis.machado@arm.com> | 2023-03-17 21:23:59 +0000 |
---|---|---|
committer | Luis Machado <luis.machado@arm.com> | 2023-10-04 16:23:39 +0100 |
commit | 15f38ed1016b9809848b13994fc06b058c1289ad (patch) | |
tree | 8d739803a9fd4756eb781212481ed6dc28dbd36f /gdb/arch-utils.c | |
parent | 5dd233b31414abfe10680baf63462f6d5fa8f139 (diff) | |
download | gdb-15f38ed1016b9809848b13994fc06b058c1289ad.zip gdb-15f38ed1016b9809848b13994fc06b058c1289ad.tar.gz gdb-15f38ed1016b9809848b13994fc06b058c1289ad.tar.bz2 |
Fix register fetch/store order for native AArch64 Linux
I noticed we don't handle register reads/writes in the best way for native
AArch64 Linux. Some other registers are fetched/stored even if upper level
code told us to fetch a particular register number.
Fix this by being more strict about which registers we touch when
reading/writing them in the native AArch64 Linux layer.
There should be no user-visible changes due to this patch.
Regression-tested on aarch64-linux Ubuntu 22.04/20.04.
Reviewed-by: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
Diffstat (limited to 'gdb/arch-utils.c')
0 files changed, 0 insertions, 0 deletions