summaryrefslogtreecommitdiff
path: root/Debugger
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-07-12 07:42:44 +0800
committerTat-Chee Wan (USM)2011-07-12 07:42:44 +0800
commit8149bcca21537f3522bf12afdad905ec5aeb28d8 (patch)
treeb31cccf87608fee9e1d663997b144794da77a400 /Debugger
parentf8c4fe18c0793b2b5229e1de4b9782082216a465 (diff)
arm subroutines called from thumb mode must be declared global
Diffstat (limited to 'Debugger')
-rw-r--r--Debugger/debug_test.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/Debugger/debug_test.S b/Debugger/debug_test.S
index eec7a01..a4082a5 100644
--- a/Debugger/debug_test.S
+++ b/Debugger/debug_test.S
@@ -70,10 +70,12 @@ exit_dbg__test_arm_instrstep:
bl dbg__test_thumb_instr_sub1
ldmfd sp!, {pc}
+ .global dbg__test_arm_instr_sub1
dbg__test_arm_instr_sub1:
mov r0, #10
bx lr
+ .global dbg__test_arm_instr_sub1
dbg__test_arm_instr_sub2:
stmfd sp!, {r4, lr}
mov r0, #TRUE