https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84595
Segher Boessenkool <segher at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 CC| |segher at gcc dot gnu.org Status|UNCONFIRMED |NEW Last reconfirmed| |2021-06-09 --- Comment #11 from Segher Boessenkool <segher at gcc dot gnu.org> --- (In reply to Richard Biener from comment #7) > I frequently use raise(SIGSTOP) ... (or x86 specific you can do asm ("int > 3"); > or whatever that break thing was... > > Note I think that a compiler-only-side implementation might not be possible > on all targets given it might be dependent on OS and debugger preferences > as well? Generating a trap instruction is not. How that then will be handled by something else is that something else's concern, yes :-)