From 92f34b6183c0426db8994b8ad8830eaf941bcc86 Mon Sep 17 00:00:00 2001 From: pancake Date: Tue, 4 Jan 2011 17:30:10 +0100 Subject: [PATCH] * Add missing define for osx debugger on arm and powerpc --- libr/debug/p/debug_native.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libr/debug/p/debug_native.c b/libr/debug/p/debug_native.c index ca9072e046..0910abba23 100644 --- a/libr/debug/p/debug_native.c +++ b/libr/debug/p/debug_native.c @@ -62,10 +62,12 @@ static int r_debug_native_reg_write(int pid, int tid, int type, const ut8* buf, #include #define R_DEBUG_REG_T ppc_thread_state_t #define R_DEBUG_STATE_T PPC_THREAD_STATE +#define R_DEBUG_STATE_SZ PPC_THREAD_STATE_COUNT #elif __arm #include #define R_DEBUG_REG_T arm_thread_state_t #define R_DEBUG_STATE_T ARM_THREAD_STATE +#define R_DEBUG_STATE_SZ ARM_THREAD_STATE_COUNT #else #include #include