Re:Building the Rust Compiler with GCC
by jcranmer on Sunday July 06, 2025 @10:12PM
(#44486081)
I have a LD_PRELOAD library that hooks SIGSEGV into spawning gdb on the process using the best guess for the process's terminal (which currently isn't very smart because I haven't yet needed to debug processes that do a lot of stdio redirection).
[ Parent
| on HN ]
Do you have this publicly available? Sounds useful!
https://github.com/stass/libsegfault does something similar if not the same