[Qt-creator] Qt creator, gdb and anonymous unions.
paulo
paulo.jnkml at gmail.com
Sun Feb 14 13:38:26 CET 2010
Hi friends at the qt-creator mailing list.
I'm wondering if it's possible to get qt-creator debugger view to show
some anonymous unions the same way gdb does.
That is, for something like:
struct A {
union {
struct { float b; };
struct { float c; };
};
} a;
a.b = 0;
gdb will print p a:
$1 = {{b = 0},{c = 0}}
on the other hand qt-creator just says it's an anonymous union and will
refuse to print visualize anything, making me add it by hand to the
watchers window (very annoying).
Any hints on how to solve this?
I'm using gdb 6.8 and qt-creator 1.3.80 from 23 jan.
Thanks in advance.
Paulo
More information about the Qt-creator-old
mailing list