[Bug c/84595] Add __builtin_break() built-in for a breakpointing mechanism
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 28 08:37:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84595
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|tree-optimization |c
Severity|normal |enhancement
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
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?
More information about the Gcc-bugs
mailing list