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 v2 10/19] write_pieced_value: Transfer least significant bits into bit-field


Andreas Arnez <arnez@linux.vnet.ibm.com> writes:

> gdb/ChangeLog:
>
> 	* dwarf2loc.c (write_pieced_value): When writing to a bit-field,
> 	transfer the source value's least significant bits, instead of its
> 	lowest-addressed ones.  Rename type_len to max_offset.
> 	(read_pieced_value): Mirror above changes to write_pieced_value as
> 	applicable.

LGTM.

-- 
Yao (齐尧)


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