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] gdbserver ptrace() argument type cleanups.


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



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