This is the mail archive of the gdb-patches@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: [no-commit-intention] Naive unnamed fields for main_type [Re: [patch] Fix gdb-gdb.py for flds_bnds copy-pastes]


On Sun, 12 Feb 2012 11:19:50 +0100, Mark Kettenis wrote:
> On OpenBSD we still have some platforms stuck with GCC 2.95.

And does it support unnamed fields?

echo 'struct { int a; struct { int b; }; } s;'|gcc -c -x c - -Wall 

At least gcc-2.96-116.7.2.i386 does.


> already includes quite a bit of C99 functionality, but some bits are
> missing.

So maybe unnamed fields are OK for GDB?


Thanks,
Jan


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