Building gdbserver for nommu targets atm fails with:
linux-low.c: In function 'linux_tracefork_child':
linux-low.c:4151: error: pointer of type 'void *' used in arithmetic
So cast the void* to a char*.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+2010-11-16 Mike Frysinger <vapier@gentoo.org>
+
+ * linux-low.c (linux_tracefork_child): Add char* cast to arg.
+
2010-10-22 Jie Zhang <jie@codesourcery.com>
* Makefile.in: Add FLAGS_TO_PASS variable.
__clone2 (linux_tracefork_grandchild, arg, STACK_SIZE,
CLONE_VM | SIGCHLD, NULL);
#else
- clone (linux_tracefork_grandchild, arg + STACK_SIZE,
+ clone (linux_tracefork_grandchild, (char *) arg + STACK_SIZE,
CLONE_VM | SIGCHLD, NULL);
#endif