From e9bfddaad319dd5f9aee24b6d5ab608f5aaaf403 Mon Sep 17 00:00:00 2001 From: Thiago Jung Bauermann Date: Wed, 12 Feb 2025 20:55:01 -0300 Subject: [PATCH] NOTFORUPSTREAM Fix for default_get_shadow_stack_pointer I suggested this change in review comments on v3 of the Intel CET patch series, and it will likely be present in v4. It's in this branch because it affects the AArch64 GCS patch series. --- gdb/arch-utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index 20e00782ccf..c86df72a6d8 100644 --- a/gdb/arch-utils.c +++ b/gdb/arch-utils.c @@ -1224,6 +1224,7 @@ std::optional default_get_shadow_stack_pointer (gdbarch *gdbarch, regcache *regcache, bool &shadow_stack_enabled) { + shadow_stack_enabled = false; return {}; } -- 2.47.2