Force Coredump

From: Breno
Date: Mon Nov 24 2003 - 08:17:27 EST


Hi all,

I need force a coredump file. So i tryed :

int *i = 0;
if(*i)
exit(1);

tryed to kill -11 'pid'
...

but i just received a seg. fault message, and doesn´t create coredump file.

Anybody knows why ?
att
Breno

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/