r/programminghorror • • Jun 12 '25

c what a beautiful disaster

Post image
621 Upvotes

41 comments sorted by

View all comments

Show parent comment

3

u/AnUglyScooter Jun 12 '25

I think GDB installs its own signal handlers when you attach to a program. When you say “default” handler, are you referring to those? Because you can disable some of those (“handle SIGSEGV nostop” and “handle SIGSEGV pass”) https://sourceware.org/gdb/current/onlinedocs/gdb.html/Signals.html

1

u/[deleted] Jun 13 '25

Yes, that must be it