Re: Gdb

From: George (greerga@CIRCLEMUD.ORG)
Date: 02/28/98


On Sat, 28 Feb 1998, blah wrote:

>When I do a "print ch" in gdb is there any way to see actually WHAT
>player/mob it is?
>
>gdb) print ch
>$3 = (struct char_data *) 0x4f3600
>(gdb) print victim
>$4 = (struct char_data *) 0x63aa00
>
>i.e. I wanna know what mob ch was and what player victim was. Any was to
>do that?

p *ch

Just like C.

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | 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/15/00 PST