gdb support for unnamed union/structure fields

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



My code has lot of unnamed unions/structure
definitions. I am using gcc 3.43 and able to compile
the code. I am using gdb 6.3 to debug.
 
But the gdb 6.3 does not display member feilds of
unnamed union/structure definitions. Does gdb 6.3
support unnamed union/structure fields ?.  If so,
would appreciate any info on how I can get to work. Do
I have to compile with some specific options
 
typedef union {
       int a;
       struct {
         int b;
         int c;
       };
       int d;
 } foo;

I see that gdb 6.4 is also released, does it support
displaying unnamed union/stucture fields.
 
thx
Mathew


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux