Re: [PATCH] Allow 64-bit enum values

Jan Kratochvil
2012-03-30T16:15:40Z

Hi Siddhesh,

On Wed, 28 Mar 2012 06:20:37 +0200, Siddhesh Poyarekar wrote:
> and do arithmetic like this:
>
> ---
> struct_off_t offset;
>
> return TYPE_LENGTH_VAL(t) + STRUCT_OFF_VAL(offset)
> - TYPE_FIELD_BITPOS_VAL(t)
> ---

FYI I posted first before this method gets generally approved:
Will therefore GDB utilize C++ or not?
http://sourceware.org/ml/gdb/2012-03/msg00087.html

Thanks,
Jan