This is the mail archive of the
mailing list for the GDB project.
MI and anonymous unions
- From: Vladimir Prus <vladimir at codesourcery dot com>
- To: gdb at sources dot redhat dot com
- Date: Wed, 15 Nov 2006 12:38:16 +0300
- Subject: MI and anonymous unions
I've noticed that MI does not work nice with anonymous unions. Consider this
Traversing it with MI eventually gives:
Although this kinda works, I'm pretty sure UI won't be happy about empty
expression for a variable object, and if you have two anonymous unions, you
can't even address them.
How about using some unique identifier for variable objects corresponding for
anonymous unions? Say "@N"?