[lldb-dev] how to display data member in anonymous union/struct?
yingshen.yu at gmail.com
Tue Jun 12 20:35:26 PDT 2012
I'm using LLDB to debug, and I met a problem with the anonymous
One of my class has union of structs. like below:
unsigned char type;
I have a MyString* names pMyStr; My questions:
1) how can I refer to data member mnPad2 and mpData?, I tried
pMyStr->flags works ok, but pMyStr->mnPad2 doesn't work.
2) I also want to write a python function to set a type summary, how can I
get these data members in Python?
Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-dev