I want to compile and debug powerpc code compiler on ubutnu x86 host.
I got :
(lldb) target create "./hello_ppc"
Current executable set to 'path_to_exe/hello_ppc' (powerpc).
(lldb) b main
Breakpoint 1: where = hello_ppc`main, address = 0x10000200
(lldb) r
Process 25399 launched: 'path_to_exe/hello_ppc' (powerpc)
hello World
Process 25399 exited with status = 12 (0x0000000c)
How does lldb run powerpc executable on x86 ? does it has some kind of simulator ??
BTW: trying to add breakpoints didn't work ... (why ?)
User contributions licensed under CC BY-SA 3.0