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 <dpiliaiev@igalia.com>
This commit is contained in:
Danylo Piliaiev
2022-06-17 18:09:09 +03:00
committed by Baldur Karlsson
parent 825f1c69fe
commit 623cd01919
+1 -1
View File
@@ -48,7 +48,7 @@
#include <stdlib.h>
#define OS_DEBUG_BREAK() abort()
#elif ENABLED(RDOC_LINUX)
#elif ENABLED(RDOC_LINUX) && (defined(__i386__) || defined(__x86_64__))
#define OS_DEBUG_BREAK() \
do \