[PATCH] Allow 64-bit enum values

Jan Kratochvil jan.kratochvil@redhat.com
Fri Mar 30 16:15:00 GMT 2012


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



More information about the Gdb-patches mailing list