This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Watching a struct member


Try saying "watch foo.bar", where foo is a struct, and GDB will want
to watch the entire struct foo.  For example, if sizeof (foo) returns
20, GDB wants to watch the region whose address is &foo and whose
length is 20 bytes.

Is this a bug or a feature?  If it's a feature, then why would GDB
need to watch the entire struct?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]