To do that, use the "display" function.

like "display ch->pcdata->gold" or something..  and eachc ommand it will
show the output of the data.  I can get spammy.

I am a command line lover of gdb.. but there are others like DDD, XXGDB that
can help you keep track as it would parse the command line of gdb.


Chris
----- Original Message ----- 
From: "Mervine, Keith" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, December 23, 2003 12:42 PM
Subject: Watching a particular piece of the ch->pcdata structure


Greetings,
Is there a way to watch a particular piece of the ch->pcdata
structure in GDB?

I have a var that changes but I cant find where it is being changed.....

ch->pcdata->bail

Any help would be helpful.

-K

-- 
ROM mailing list
[email protected]
http://www.rom.org/cgi-bin/mailman/listinfo/rom




Reply via email to