On Mon, 14 Jul 1997 lsdinc@ELKNET.NET wrote: >ok, here are a few more questions.. what is GDB? where can it be found? how >do i use it? etc... It's the GNU DeBugger. Very helpful to figure out why your programs crash. http://sunsite.unc.edu/pub/gnu/gdb-4.16.tar.gz Someone (try the FAQ) wrote some simple intructions on it. Basic idea is: gdb bin/circle lib/core bt p (variables here, such as buf, *ch, and such to print) quit bt = backtrace of funtions called (with line numbers) p = print If you don't get cores, then just debug the program with gdb bin/circle and then run. If you run win95, then forget it (for the most part). :) -George +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list-faq.html | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST