Re: [RFA] handle android bionic ptrace in gdbserver.

Pedro Alves
2012-04-24T12:16:49Z

On 04/23/2012 07:13 PM, Thiago Jung Bauermann wrote:

> On Fri, 2012-03-30 at 17:28 -0300, Thiago Jung Bauermann wrote:
>> Updated patch follows.
>
> Ping.

Sorry, I thought I had replied already, but looks like I didn't.

>> 2012-03-30 Thiago Jung Bauermann <thiago.bauermann@linaro.org>

>>
>> * linux-low.h (PTRACE_ARG3_TYPE): Move macro from linux-low.c.
>> (PTRACE_ARG4_TYPE): Likewise.
>> (PTRACE_XFER_TYPE): Likewise.
>> * linux-arm-low.c (arm_prepare_to_resume): Cast third argument
>> of
>> ptrace to PTRACE_ARG3_TYPE.
>> * linux-low.c (PTRACE_ARG3_TYPE): Move macro to linux-low.h.
>> (PTRACE_ARG4_TYPE): Likewise.
>> (PTRACE_XFER_TYPE): Likewise.
>> (linux_detach_one_lwp): Cast fourth argument of
>> ptrace to long then PTRACE_ARG4_TYPE.
>> (regsets_fetch_inferior_registers): Cast third argument of
>> ptrace to long then PTRACE_ARG3_TYPE.
>> (regsets_store_inferior_registers): Likewise.

Okay.

--
Pedro Alves