nelhage / reptyr

Reparent a running program to a new terminal
MIT License
5.77k stars 216 forks source link

PowerPC support? #89

Closed grepwood closed 5 years ago

grepwood commented 6 years ago

I tried to compile. Didn't work. I tried to read the source, like amd64.h. Where do these magic numbers come from?

nelhage commented 6 years ago

The constants describe the x86 syscall convention, as well as some details of how ptrace works on that architecture. I'm not familiar with PPC but it shouldn't be too hard to add Linux support, unless there's something complex I'm unaware of. Is there an easy way to me to get a test environment, if I were to have time for looking into it?

blakehilliard commented 6 years ago

it shouldn't be too hard

I'd like to be able to use this on PowerPC as well. Any pointers that could turn this from "I have no idea how to make this work" to "it shouldn't be too hard" for me? If I get it working I'll submit a pull request, though I'm not very confident I'll have the time to work on this if it doesn't turn out to be simple.

jab commented 5 years ago

(since #94 was merged, should this issue be closed?)

nelhage commented 5 years ago

Indeed,thanks.