Hi, How do I get the bitpos and bitsize of a bitfield using gdb?
struct bitfields {
unsigned char field1: 1;
unsigned char field2: 4;
unsigned char field3: 2;
}
I know gdb reads this info because I can see the dwarf dump with the
information, but there must be an easier way to get this information from
gdb.
--
View this message in context:
http://old.nabble.com/GDB-bitfields-tp29529162p29529162.html
Sent from the Gnu - gdb - General mailing list archive at Nabble.com.
