https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105772
--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> --- As background info, I'm proposing a patch for gdb to have the architecture-specific prologue skipper skip over the get_pc_thunk call: https://sourceware.org/pipermail/gdb-patches/2022-May/189563.html , which helps to skip over the prologue with -O0 -pie -fPIE code. But that causes a regression in test-case gdb/testsuite/gdb.base/break.exp, because of this PR.