> 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 Try: (gdb) ptype ch to get how ch really looks (the single fields). Then type: (gdb) print ch.<whateverfieldnameyouwant> - Chris -- /----------------------------------------------------------------------------\ | Christian Loth | Meet me as the >Shadowdancer< in the | | chris@rom.mud.de | REALM OF MAGIC | | http://privat.schlund.de/Loth | telnet rom.mud.de 4000 | | | http://rom.mud.de/ | | "The road goes ever on and on!" - Bilbo Baggins | \----------------------------------------------------------------------------/ +------------------------------------------------------------+ | 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