Hello David, You can get the core by doing the command "unlimit core".
Consider the following: > cat crash.c main() { char *foo=0; *foo=42; printf("I'm dead!\n"); } > gcc -g -o crash crash.c > ./crash Segmentation fault > unlimit core > ./crash Segemantion fault (core dumped) > ls -t core* | head -1 core.4242 > gdb crash core.4242 [gdb version output] #0 0x08048342 in main () at crash.c:3 3 *foo=42; (gdb) where [stack trace of crash output] Note that the syntax above for "unlimit" is for tcsh or zsh. I'm sure someone on the list can give the corresponding command for bash. Regards, Dov P.S. Are you the famous Prof. David Harel, the author of "Algorithmics" and the inventor of State Charts? On Wed, Dec 15, 2004 at 02:34:15AM +0200, David Harel wrote: > Greetings, > > A long time ago, On BSD SunOS I could debug core files. > On Linux I don't even get core files. > > 1. Can I get core files on Linux and how? > 2. Can I debug core files and how? > > Machine: Gentoo on kernel 2.4.26-gentoo-r9 > > -- > Thanks. > > David Harel, > > ================================== > > Home office +972 4 6921986 > Fax: +972 4 6921986 > Cellular: +972 54 4534502 > Snail Mail: Amuka > D.N Merom Hagalil > 13802 > Israel > Email: [EMAIL PROTECTED] > > > > > > ================================================================= > To unsubscribe, send mail to [EMAIL PROTECTED] with > the word "unsubscribe" in the message body, e.g., run the command > echo unsubscribe | mail [EMAIL PROTECTED] ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]