This commit is contained in:
leberus 2016-12-03 19:00:29 +01:00 committed by radare
parent 8c96a90d09
commit e82a638006

View File

@ -104,7 +104,11 @@ int linux_handle_signals (RDebug *dbg) {
*/
RDebugReasonType linux_ptrace_event (RDebug *dbg, int pid, int status) {
ut32 pt_evt;
#if __powerpc64__ || __arm64__ || __aarch64__ || __x86_64__
ut64 data;
#else
ut32 data;
#endif
/* we only handle stops with SIGTRAP here */
if (!WIFSTOPPED(status) || WSTOPSIG(status) != SIGTRAP) {