summaryrefslogtreecommitdiff
path: root/Debugger/debug_test.S
diff options
context:
space:
mode:
Diffstat (limited to 'Debugger/debug_test.S')
-rw-r--r--Debugger/debug_test.S53
1 files changed, 0 insertions, 53 deletions
diff --git a/Debugger/debug_test.S b/Debugger/debug_test.S
deleted file mode 100644
index 91e19d2..0000000
--- a/Debugger/debug_test.S
+++ /dev/null
@@ -1,53 +0,0 @@
-/** @file debug_test.S
- * @brief Test Routines to trigger ARM and Thumb Manual Breakpoints
- *
- */
-
-/* Copyright (C) 2007-2011 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
- *
- */
-#define __ASSEMBLY__
-#include "debug_stub.h"
-
-.text
-.align 4
-.code 32
-
-/**********************************************
- * dbg__test_arm_bkpt Test Routine
- *
- */
- .global dbg__test_arm_bkpt
-dbg__test_arm_bkpt:
- stmfd sp!,{lr}
- dbg__bkpt_arm /* Trigger ARM Manual Breakpoint */
- ldmfd sp!,{pc}
-
-/**********************************************
- * dbg__test_thumb_bkpt Test Routine
- *
- */
- .global dbg__test_thumb_bkpt
-dbg__test_thumb_bkpt:
- stmfd sp!,{lr}
-/* ldr r0, =_thumb_entry
- orr r0, r0, #1 @ Set Thumb mode
- mov lr, pc
- bx r0
-*/
- bl _thumb_entry
- ldmfd sp!,{pc}
-
-.code 16
-.thumb_func
-_thumb_entry:
- dbg__bkpt_thumb
- bx lr
-
-.end