From aa45854ec3d94c1b95fb1a5d8e5482a80561b068 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sat, 8 Apr 2023 09:54:32 -0700 Subject: [PATCH] zig.h: fix typo for zig_trap definition --- lib/zig.h | 2 +- stage1/zig.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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()