diff options
Diffstat (limited to 'gdb/aarch64-tdep.c')
-rw-r--r-- | gdb/aarch64-tdep.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/aarch64-tdep.c b/gdb/aarch64-tdep.c index ac4ed17..ebc78d6 100644 --- a/gdb/aarch64-tdep.c +++ b/gdb/aarch64-tdep.c @@ -773,8 +773,10 @@ aarch64_analyze_prologue (struct gdbarch *gdbarch, (perhaps because rn is not known) then we should abandon further prologue analysis. */ if (pv_area_store_would_trash (stack, - pv_add_constant (regs[rn], imm)) || - pv_area_store_would_trash (stack, + pv_add_constant (regs[rn], imm))) + break; + + if (pv_area_store_would_trash (stack, pv_add_constant (regs[rn], imm + 8))) break; |