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] Clear upper bits during sign extension


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


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