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: [PATCH] Allow 64-bit enum values


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


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