[PATCH] Clear upper bits during sign extension

Pedro Alves palves@redhat.com
Thu Jan 8 10:42:00 GMT 2015


On 01/08/2015 05:40 AM, Yao Qi wrote:
> Yao Qi <yao@codesourcery.com> writes:
> 
>>> +  byte_order = gdbarch_byte_order (get_type_arch (type));
>>
>> How about getting gdbarch via get_frame_arch (frame)?  How about
>> removing gdb_sign_extend as it is no longer used?
>>
>> I'll post a full version on top of yours.
> 
> Here is the patch, what do you think?

Looks good to me.  Thanks.

-- 
Pedro Alves



More information about the Gdb-patches mailing list