I'm debug-running a daemon application in foreground mode inside gdb inside a tmux session. This daemon occasionally crashes with a SIGSEGV. Results of this crash are not immediately evident to the outside world, so it might take a while for me to discover the daemon has crashed. I would like to receive some sort of a notification immediately when a crash happens, even e-mail is fine. I've found no help from man gdb. How (if at all) is this achieved?
~ $ gdb --version
GNU gdb (Gentoo 7.2 p1) 7.2