[PATCH] gdbserver ptrace() argument type cleanups.
Marcus Shawcroft
marcus.shawcroft@arm.com
Mon Feb 4 19:04:00 GMT 2013
On 04/02/13 18:57, Mark Kettenis wrote:
>> Date: Mon, 04 Feb 2013 17:30:48 +0000
>> From: Marcus Shawcroft <marcus.shawcroft@arm.com>
>
>> - ptrace (PTRACE_GETEVENTMSG, lwpid_of (event_child), 0, &new_pid);
>> + ptrace (PTRACE_GETEVENTMSG, lwpid_of (event_child), (PTRACE_ARG3_TYPE) 0,
>> + &new_pid);
>
> I'd use the word "obfuscation" instead of "cleanup".
>
This change is ugly, agreed. I'm open to better suggestions.
/Marcus
More information about the Gdb-patches
mailing list