[Bug debug/105772] [debug, i386] sched2 moves get_pc_thunk call past debug_insn

vries at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon May 30 12:17:33 GMT 2022


--- 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.

More information about the Gcc-bugs mailing list