|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to obtain core dump with HP-UX cc compiler?
Hello all,
I am using HP native cc compiler ( on PA and IPF ). Code:
main()
{
struct dinesh_p_v
{
int a;
};
struct dins
{
char *p;
struct dinesh_p_v *v;
}p;
printf("p.v->a%d\n",p.v->a);
}
The above program does not core dump. How can I get this program to core dump ? . When compiled with gcc I am getting core dump error. Thanks in advance, Murugesan |
|
#2
|
|||
|
|||
|
I could have read the man page earlier.
-z option did that for me. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > How to obtain core dump with HP-UX cc compiler? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|