library/src/utility/BP-LinuxSignalAutoconfigurations.cc
// Called whenever a blockparty application encounters a segmentation fault.
Called whenever a blockparty application encounters a segmentation fault.
Called whenever a blockparty application encounters a segmentation fault .
void BP_LSAC_GDBOnSigSegv(int signum)
{
	char buff[1024] = {0};
	snprintf(buff, sizeof(buff)-1, "gdb --pid=%d", getpid());
	exit(0);
}
void BP_LSAC_GDBOnSigSegv ( int signum ) { char buff [ 1024 ] = { 0 } ; snprintf ( buff , sizeof ( buff ) - 1 , " " , getpid ( ) ) ; exit ( 0 ) ; }
Called whenever a blockparty application encounters a segmentation fault.
Called whenever a blockparty application encounters a segmentation fault .
// create new buffer // create the buffer // exit here