]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb, amd64: return after amd64_analyze_register_saves if current_pc reached
authorPawel Kupczak <pawel.kupczak@intel.com>
Thu, 28 Aug 2025 11:50:16 +0000 (11:50 +0000)
committerChristina Schimpe <christina.schimpe@intel.com>
Thu, 4 Sep 2025 20:44:48 +0000 (20:44 +0000)
commit95f21c0d25a8241251a1dfcf6e5d80701cd80a06
tree2e35887aa7ff7464b284ab2a5bbcd5dbf46ea6b9
parent57ce06ac23a8b01d1bd9de2cbc1f79f75b96f0ca
gdb, amd64: return after amd64_analyze_register_saves if current_pc reached

Make sure the function bails out early if CURRENT_PC is reached, to
avoid the call to amd64_analyze_stack_alloc.

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