Re: [PATCH c++ 1/5] lm32: Add (const gdb_byte *) cast

Pedro Alves
2015-10-13T17:32:22Z

On 10/13/2015 06:14 PM, Simon Marchi wrote:
> On 15-10-12 07:10 AM, Pedro Alves wrote:
>> This reveals that the code has a host-dependency. It is assuming the
>> byte order of the target is the same as host's.
>>
>> Please replace this with a call to write_memory_unsigned_integer.
>>
>> Looks like this port hasn't been touched ever since it was
>> originally contributed. Jon, is there still interest in this port?
>>
>> Thanks,
>> Pedro Alves
>
> Ah, thanks for the tip. It would look like this then:

Looks good.

Thanks,
Pedro Alves