1834597 Members
3922 Online
110069 Solutions
New Discussion

Core file Generation

 
Ciaran Bryan
New Member

Core file Generation

In solaris 7 there is a gcore utility to tell the os to procuce a core file for a running pid without affecting the running status of the process.

Is there a version for HP-UX 11.00 or a porting site that has a copy ?

Also,
What system calls can I use to force the OS to produce a core file upon receipt of say a SIGBUS from the OS ?

Help Appreciated.
1 REPLY 1
A. Clay Stephenson
Acclaimed Contributor

Re: Core file Generation

You simply call abort within your program. Man abort for details.
If it ain't broke, I can fix that.