summaryrefslogtreecommitdiff
path: root/src/pal/src/arch/amd64/debugbreak.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/pal/src/arch/amd64/debugbreak.S')
-rw-r--r--src/pal/src/arch/amd64/debugbreak.S12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/pal/src/arch/amd64/debugbreak.S b/src/pal/src/arch/amd64/debugbreak.S
new file mode 100644
index 0000000000..3065e4064c
--- /dev/null
+++ b/src/pal/src/arch/amd64/debugbreak.S
@@ -0,0 +1,12 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+.intel_syntax noprefix
+#include "unixasmmacros.inc"
+
+LEAF_ENTRY DBG_DebugBreak, _TEXT
+ int3
+ ret
+LEAF_END_MARKED DBG_DebugBreak, _TEXT
+