From 5f57e963d04bf7552d0939725c43c4806a05808f Mon Sep 17 00:00:00 2001 From: "qsr@chromium.org" Date: Mon, 20 Aug 2012 13:42:09 +0000 Subject: Getting context information from the kernel when catching a SIGABRT on iOS. Until now, the context information was the current one when receiving a SIGABRT. This is mainly wrong because the signal handler start in a new context. This instead use the context passed to the signal handler. Review URL: https://breakpad.appspot.com/435002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1015 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/common/mac/macho_utilities.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/common') diff --git a/src/common/mac/macho_utilities.h b/src/common/mac/macho_utilities.h index a07945fd..a200c0f7 100644 --- a/src/common/mac/macho_utilities.h +++ b/src/common/mac/macho_utilities.h @@ -54,14 +54,6 @@ # define LC_UUID 0x1b /* the uuid */ #endif -#if TARGET_CPU_X86 -# define BREAKPAD_MACHINE_THREAD_STATE i386_THREAD_STATE -#elif TARGET_CPU_X86_64 -# define BREAKPAD_MACHINE_THREAD_STATE x86_THREAD_STATE64 -#else -# define BREAKPAD_MACHINE_THREAD_STATE MACHINE_THREAD_STATE -#endif - // The uuid_command struct/swap routines were added during the 10.4 series. // Their presence isn't guaranteed. struct breakpad_uuid_command { -- cgit v1.2.1