]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: return after stack alignment skip if current_pc is reached
authorPawel Kupczak <pawel.kupczak@intel.com>
Tue, 17 Jun 2025 14:08:16 +0000 (14:08 +0000)
committerAndrew Burgess <aburgess@redhat.com>
Mon, 23 Jun 2025 15:39:39 +0000 (16:39 +0100)
commit70d93c10482c13c5480175f18dad0bddc8d551d9
tree9a6854a36b5181e66484c8dbfc09601d04c13fac
parent6461dc05f1b807a50c5152528b8d0f0b4b78b5bd
gdb: return after stack alignment skip if current_pc is reached

Make sure we bail out early from amd64_analyze_prologue if CURRENT_PC
is reached to avoid unnecessary call to amd64_analyze_frame_setup.

Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/amd64-tdep.c