Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ core... where? got core?
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Frobozz
(75 posts) Bio
|
Date
| Mon 20 Dec 2004 02:00 AM (UTC) |
Message
| 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!
| Top |
|
Posted by
| Greven
Canada (835 posts) Bio
|
Date
| Reply #1 on Mon 20 Dec 2004 02:13 AM (UTC) |
Message
| 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. |
Nobody ever expects the spanish inquisition!
darkwarriors.net:4848
http://darkwarriors.net | Top |
|
Posted by
| Frobozz
(75 posts) Bio
|
Date
| Reply #2 on Mon 20 Dec 2004 03:12 AM (UTC) |
Message
| [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* | Top |
|
Posted by
| Nick Cash
USA (626 posts) Bio
|
Date
| Reply #3 on Mon 20 Dec 2004 03:14 AM (UTC) |
Message
| Check the area directory for your core file. Thats where mine is :) |
~Nick Cash
http://www.nick-cash.com | Top |
|
Posted by
| Nick Gammon
Australia (23,070 posts) Bio
Forum Administrator |
Date
| Reply #4 on Mon 20 Dec 2004 07:23 PM (UTC) |
Message
| 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.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
16,259 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top