aboutsummaryrefslogtreecommitdiffhomepage
path: root/armdebug/Debugger/debug_test.h
diff options
context:
space:
mode:
authorNicolas Schodet2023-03-06 17:36:31 +0100
committerNicolas Schodet2023-03-06 17:36:31 +0100
commitd383f2bcdb6ff13cc562fce1ff55d826035debad (patch)
treef5cd0440869b8ba823fd254b361cdefe95e153b4 /armdebug/Debugger/debug_test.h
parent8fce63fda48a6593870ffd3c584c9dd0808bc2c2 (diff)
Simplify source tree
Now just use make in the root directory to build.
Diffstat (limited to 'armdebug/Debugger/debug_test.h')
-rw-r--r--armdebug/Debugger/debug_test.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/armdebug/Debugger/debug_test.h b/armdebug/Debugger/debug_test.h
new file mode 100644
index 0000000..b8e6634
--- /dev/null
+++ b/armdebug/Debugger/debug_test.h
@@ -0,0 +1,50 @@
+/** @file debug_test.h
+ * @brief C header file for debugger test routines
+ *
+ */
+
+/* Copyright (C) 2007-2010 the NxOS developers
+ *
+ * Module Developed by: TC Wan <tcwan@cs.usm.my>
+ *
+ * See AUTHORS for a full list of the developers.
+ *
+ * See COPYING for redistribution license
+ *
+ */
+
+#ifndef __DEBUG_TEST_H__
+#define __DEBUG_TEST_H__
+
+#include "_c_arm_macros.h"
+
+#ifndef __ASSEMBLY__
+
+/* Define C stuff */
+/** @defgroup debug_public */
+/*@{*/
+
+/**
+ * Insert ARM Breakpoint instruction into code stream
+ */
+FUNCDEF void dbg__test_arm_bkpt(void);
+/**
+ * Insert Thumb Breakpoint instruction into code stream
+ */
+FUNCDEF void dbg__test_thumb_bkpt(void);
+
+/**
+ * Dummy function for testing ARM instruction stepping
+ */
+FUNCDEF void dbg__test_arm_instrstep(void);
+/**
+ * Dummy function for testing Thumb instruction stepping
+ */
+FUNCDEF void dbg__test_thumb_instrstep(void);
+
+ /*@}*/
+
+#endif
+
+
+#endif /* __DEBUG_TEST_H__ */