From: "Bejhan Jetha" <nhlstar6@YAHOO.COM> > I'm using cygwin and I want it to create a core file everytime my MUD > crashes so it's easier for me to track down the problem. Right now I only > get a stack dump and I'm not sure about core files but I know they have to > do with the gdb command in cygwin. > Sorry, no can do. The windows architecture doesn't support regular core dumps, and the stackdump is - to my knowledge - useless for debugging, with gdb, anyway. However, try running the mud _through_ gdb. this will give the same effect: gdb bin/circle <snip startup info> run Now, if you crash the mud by making a Seg fault or otherwise, you will be sent to the gdb prompt, and have all the available data at hand. For more info on gdb, check out the CircleMud FAQ: http://www.circlemud.org/cdp/faq/FAQ-4.html#ss4.11 Welcor -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | | Newbie List: http://groups.yahoo.com/group/circle-newbies/ | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT