mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 21:10:42 +00:00
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:
committed by
Baldur Karlsson
parent
825f1c69fe
commit
623cd01919
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user