Ok..
Perhaps this is the ultimate newbie question! Maybe not. I dont know!
Some how in the process of debugging a problem with do_sset my core file grew legs, wings, and or something else and disappeared.
My question is how do I recreate my core file? Or at least make a new one?
Thanks!
A new core file should be created every time your mud crashes, assuming you have your system settings right, check out the GDB guide of Nick's for what to set these too and how.
[frobozz]$ gdb core smaug
GNU gdb 5.0rh-5 Red Hat Linux 7.1
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"..."/home/frobozz/smaug/src/core": not in executable format: File truncated
"/home/frobozz/smaug/src/smaug" is not a core dump: File format not recognized
(gdb) bt
No stack.
*sob*
Check the area directory for your core file. Thats where mine is :)
How big is your core file? Mine was about 3.6 Mb. eg.
$ ls -lh core*
-rw------- 1 nick nick 3.6M Dec 21 07:21 core.12335
Under Cygwin, you don't seem to get core files BTW.