(Apologies this isn’t using the reply id)
FYI, I tried the patch below and I’m happy it fixes the GDB issue in PR
debug/88432.
In the meantime, GDB HEAD has a workaround to disable stack protection in
the GDB testsuite, and a KFAILed test for the exact bug. See:
At the moment NOTE_INSN_FUNCTION_BEG is used for three different purposes.
The first is as a marker just before the first insn coming from a
"source code statement" of the function.
Bug 88432 is due to the fact that the note does not accurately point to
this logical position in a function -- in