mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-04 12:36:30 +00:00
Fix build for !(__linux__ && __powerpc__)
This commit is contained in:
parent
23cddbb06c
commit
b9b7ee222d
@ -1118,9 +1118,13 @@ eprintf ("++ EFL = 0x%08x %d\n", ctx.EFlags, r_offsetof (CONTEXT, EFlags));
|
|||||||
#elif __linux__ && __powerpc__
|
#elif __linux__ && __powerpc__
|
||||||
ret = ptrace (PTRACE_GETREGS, pid, ®s, NULL);
|
ret = ptrace (PTRACE_GETREGS, pid, ®s, NULL);
|
||||||
|
|
||||||
#else
|
#elif __linux__ && !__powerpc__
|
||||||
/* linux-{arm/x86/x64} */
|
/* linux-{arm/x86/x64} */
|
||||||
ret = ptrace (PTRACE_GETREGS, pid, NULL, ®s);
|
ret = ptrace (PTRACE_GETREGS, pid, NULL, ®s);
|
||||||
|
#else
|
||||||
|
#warning not implemented for this platform
|
||||||
|
ret = 1;
|
||||||
|
#endif
|
||||||
////////////////////////////////////////////////
|
////////////////////////////////////////////////
|
||||||
|
|
||||||
//////////////////////////////////
|
//////////////////////////////////
|
||||||
@ -1138,7 +1142,6 @@ eprintf ("++ EFL = 0x%08x %d\n", ctx.EFlags, r_offsetof (CONTEXT, EFlags));
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
return R_TRUE;
|
return R_TRUE;
|
||||||
#else
|
#else
|
||||||
#warning dbg-native not supported for this platform
|
#warning dbg-native not supported for this platform
|
||||||
|
Loading…
x
Reference in New Issue
Block a user