Re: [HELP]GDB

From: StormeRider (silk@ICI.NET)
Date: 12/12/97


At 12:36 PM 12/12/97 -0600, you wrote:
>> Ok I'm trying to use gdb to find out whats with this core dump S*IT I
>> think theres an error but my syslog and syslog.crash are empty!
>>
>> Could someone please help me figure out gdb?
>
>The easiest way is to start gdb and pass it the program and core file
>like so:
>
>gdb bin/circle lib/core
>
>It should spit out where it crashed and what line at that point...
>
>Also, as the FAQ states, print is the must commonly used command I.E.
>
>print *ch spits out all the character information ect...
>
Other commands noted from y'all on the list that have helped tons:

list
bt (*backtrace*)
info locals
print *d
print *d->olc (*if dealing with oasis 1.2/3 whatever it is*)


StormeRider                  --- http://www.windsofstorm.net/wos/
silk@ici.net                 --- telnet://cmoo.com:4004


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST