diff --git a/lib/zig.h b/lib/zig.h index 91ff613a72..36f3318650 100644 --- a/lib/zig.h +++ b/lib/zig.h @@ -197,7 +197,7 @@ typedef char bool; #elif defined(__i386__) || defined(__x86_64__) #define zig_trap() __asm__ volatile("ud2"); #elif defined(__arm__) || defined(__aarch64__) -#define zig_breakpoint() __asm__ volatile("udf #0"); +#define zig_trap() __asm__ volatile("udf #0"); #else #include #define zig_trap() abort() diff --git a/stage1/zig.h b/stage1/zig.h index 91ff613a72..36f3318650 100644 --- a/stage1/zig.h +++ b/stage1/zig.h @@ -197,7 +197,7 @@ typedef char bool; #elif defined(__i386__) || defined(__x86_64__) #define zig_trap() __asm__ volatile("ud2"); #elif defined(__arm__) || defined(__aarch64__) -#define zig_breakpoint() __asm__ volatile("udf #0"); +#define zig_trap() __asm__ volatile("udf #0"); #else #include #define zig_trap() abort()