aboutsummaryrefslogtreecommitdiff
path: root/gdb/make-init-c
diff options
context:
space:
mode:
authorThiago Jung Bauermann <thiago.bauermann@linaro.org>2025-05-01 21:36:18 -0300
committerThiago Jung Bauermann <thiago.bauermann@linaro.org>2025-08-29 18:35:58 -0300
commit7353e5f9d72468e484b083ccd2b4840ed2b7f125 (patch)
tree7dc9306f31a8e467be25a1780020d68dcbcc6d50 /gdb/make-init-c
parenta5ae00c47eb678462c5d2ed9c3b31fc59bb4ba45 (diff)
downloadbinutils-7353e5f9d72468e484b083ccd2b4840ed2b7f125.zip
binutils-7353e5f9d72468e484b083ccd2b4840ed2b7f125.tar.gz
binutils-7353e5f9d72468e484b083ccd2b4840ed2b7f125.tar.bz2
GDB: aarch64-linux: Implement GCS support in displaced stepping
When doing displaced step on a branch and link instruction with the Guarded Control Stack enabled, it's necessary to manually push and pop the GCS entry for the function call since GDB writes a simple branch instruction rather than a branch and link instruction in the displaced step buffer. The testcase exercises GCS with displaced stepping by putting the breakpoint on the bl instruction to force GDB to copy it to the displaced stepping buffer. In this situation GDB needs to manually manage the Guarded Control Stack. Reviewed-By: Christina Schimpe <christina.schimpe@intel.com> Approved-By: Luis Machado <luis.machado@arm.com>
Diffstat (limited to 'gdb/make-init-c')
0 files changed, 0 insertions, 0 deletions