Hi, This bug deals with anonymous structs/unions in varobj. As in: anonymous structs/unions are unaddressable by MI clients. This bug has been sitting around for quite some time. Vladimir Prus first mentioned this in 2006 (yikes!), and this bug was filed in 2009. At this time, Nick Roberts responded to the bug with a patch that fixed the problem. I don't know why Nick never submitted the patch here, so I've tweaked his original patch and written some tests for it, and I am now submitting this. Tested on x86_64-linux. Keith ChangeLog 2011-11-11 Keith Seitz Based on work by Nick Roberts : * varobj.c (c_describe_child): Synthesize a variable name for anonymous structs and unions. (cplus_describe_child): Likewise. testsuite/ChangeLog 2011-11-11 Keith Seitz * gdb.mi/mi-var-cp.cc (anonymous_structs): New function. (class A): New class. (class B): New class. (main): Call anonymous_structs. * gdb.mi/mi-var-cp.exp: Add anonymous struct tests and adjust test results. * gdb.mi/mi2-var-cp.exp: Likewise. * gdb.mi/var-cmd.c (struct _simple_struct): Add two anonymous structs. * gdb.mi/mi-var-dislay.exp: Add anonymous struct tests and adjust test results. * gdb.mi/mi2-var-display.exp: Likewise.