This is the mail archive of the gdb@sourceware.org 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]
Other format: [Raw text]

Re: has_more="0" with pretty-printer installed


On 11/11/2013 04:05 PM, Elmenthaler, Jens wrote:
Since dynamic is true, there is a pretty printer registered for zzz_type or struct container. Struct container looks like a collection, so the purpose of the pretty printer probably is to show its elements as children, not the struct's data members itself. If nobody add elements to the container, the number of its children will be 0. Just a guess, of course, ...

Your are right, the pretty printer shows field "elements" of "struct
container" as children, instead of "struct container"'s fields.  Thanks!

--
Yao (éå)


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