summaryrefslogtreecommitdiff
path: root/core/cortex-m/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/cortex-m/debug.c')
-rw-r--r--core/cortex-m/debug.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/core/cortex-m/debug.c b/core/cortex-m/debug.c
deleted file mode 100644
index db8891b5d8..0000000000
--- a/core/cortex-m/debug.c
+++ /dev/null
@@ -1,12 +0,0 @@
-/* Copyright 2021 The Chromium OS Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#include "debug.h"
-#include "stdbool.h"
-
-bool debugger_is_connected(void)
-{
- return CPU_DHCSR & DHCSR_C_DEBUGEN;
-}