Finally, valgrind on ppc32.
Plenty still to do, but simple programs like ls seem to run ok
Thanks, Paul, for having your ppc port of valgrind 2.4 to work from!
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3969 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/m_debugger.c b/coregrind/m_debugger.c
index 7cb883d..9a4a7a5 100644
--- a/coregrind/m_debugger.c
+++ b/coregrind/m_debugger.c
@@ -68,6 +68,9 @@
return ptrace(PTRACE_SETREGS, pid, NULL, ®s);
#elif defined(VGA_amd64)
I_die_here;
+#elif defined(VGA_ppc32)
+ I_die_here;
+ regs.gpr[0] = 0; // stop compiler complaints
#else
# error Unknown arch
#endif