From 623cd019190200d5eb14db3319b2c2c5156f364f Mon Sep 17 00:00:00 2001 From: Danylo Piliaiev Date: Fri, 17 Jun 2022 18:09:09 +0300 Subject: [PATCH] Do not use inline asm for debugbreak on non i386/x86_64 targets Fixes compilation on non i386/x86_64 Linux targets. Don't use arch specific assembly for other architectures because in most cases it breaks gdb ability to do next step. Signed-off-by: Danylo Piliaiev --- renderdoc/common/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderdoc/common/common.h b/renderdoc/common/common.h index cfeb48cd6..76eb687e5 100644 --- a/renderdoc/common/common.h +++ b/renderdoc/common/common.h @@ -48,7 +48,7 @@ #include #define OS_DEBUG_BREAK() abort() -#elif ENABLED(RDOC_LINUX) +#elif ENABLED(RDOC_LINUX) && (defined(__i386__) || defined(__x86_64__)) #define OS_DEBUG_BREAK() \ do \