Is there any specific reason why coredump is not supported as part of the libpcd?
I used the pcd to create core dump when crash occurs by updating PCD_exception_default_handler() API in the pcdapi.c file
below lines were updated at the end of api
/* below lines are to generate the coredump*/signal(signo,SIG_DFL);
kill(getpid(),signo);
printf("\nProcess %d got signal %d\n",getpid(),signo);/* uncomment exit() inorder to generate coredump */
// exit( 1 );
Please let me know whether supporting coredump will create any problem.
PS: coredump changes are required only for debug build.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Is there any specific reason why coredump is not supported as part of the libpcd?
I used the pcd to create core dump when crash occurs by updating PCD_exception_default_handler() API in the pcdapi.c file
below lines were updated at the end of api
// exit( 1 );
Please let me know whether supporting coredump will create any problem.
PS: coredump changes are required only for debug build.