|
From: Dave N. <dc...@us...> - 2007-11-02 15:56:08
|
Is it possible to run an x86 valgrind on a PPC program? If so, how would you do it? -- Dave Nomura LTC Linux Power Toolchain |
|
From: Oswald B. <os...@kd...> - 2007-11-02 17:44:23
|
On Fri, Nov 02, 2007 at 08:56:08AM -0700, Dave Nomura wrote: > Is it possible to run an x86 valgrind on a PPC program? If so, how > would you do it? > so you want a cross-executing valgrind ... while i think vex would have no major problems with it (give or take some minor adjustments), i'm pretty sure nobody has written a syscall translation layer, and i guess it's unlikely that anybody will. -- Hi! I'm a .signature virus! Copy me into your ~/.signature, please! -- Chaos, panic, and disorder - my work here is done. |
|
From: Julian S. <js...@ac...> - 2007-11-02 21:27:57
|
On Friday 02 November 2007 18:44, Oswald Buddenhagen wrote: > On Fri, Nov 02, 2007 at 08:56:08AM -0700, Dave Nomura wrote: > > Is it possible to run an x86 valgrind on a PPC program? If so, how > > would you do it? > > so you want a cross-executing valgrind ... > while i think vex would have no major problems with it (give or take > some minor adjustments), i'm pretty sure nobody has written a syscall > translation layer, That's true. One of the vex design goals was to support cross-translation although that's never been used so far. But anyway, why would you want to do such a bizarre thing? Why not just valgrindify your ppc app on a ppc box? J |
|
From: Nicholas N. <nj...@cs...> - 2007-11-02 21:02:08
|
On Fri, 2 Nov 2007, Dave Nomura wrote: > Is it possible to run an x86 valgrind on a PPC program? If so, how > would you do it? Maybe if you run Valgrind on QEMU (or another dynamic binary translator) running the PPC program? Otherwise I can't see how it would work. Nick |