erm, I need some help regarding the GDB.
http://herc.ws/wiki/index.php?title=GDB#Using_gdb_with_Hercules
I have read the guide here many times, yet I still cant make it work.
I am not sure which steps I have missing, or did wrongly.
My steps to use GDB :
Can you guys correct me ?
I also did compile the server using this commands before I start using the GDB.
./configure --enable-debug=gdb --disable-ltomake cleanmake sql
and lastly, if the GDB ever success to record the dump, where can I find the dump file that contain the crash information ??
http://herc.ws/wiki/index.php?title=GDB#Using_gdb_with_Hercules
I have read the guide here many times, yet I still cant make it work.
I am not sure which steps I have missing, or did wrongly.
My steps to use GDB :
- navigate to the Hercules trunk folder
- type this command ulimit -u unlimited./athena-start restart // startup server
- Wait until the crash happened, then type this command
Code:
gdb map-server map-server.core // assume it's map-server crashed. - I get this output once I enter the command above.
-
- then I type the command and it show "No Stack"
Can you guys correct me ?
I also did compile the server using this commands before I start using the GDB.
./configure --enable-debug=gdb --disable-ltomake cleanmake sql
and lastly, if the GDB ever success to record the dump, where can I find the dump file that contain the crash information ??
Last edited by a moderator: