summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-08-30 20:50:47 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-08-30 20:50:47 +0000
commitf02f29e59e6090b0bd5df09432ea1a788b85a8e8 (patch)
treefe5035a664fdf209f9ca288ceef3e8f7aa503ab6 /firmware
parenteef58cd44c9624b467896d7b224fb94125e4487b (diff)
downloadrockbox-f02f29e59e6090b0bd5df09432ea1a788b85a8e8.tar.gz
rockbox-f02f29e59e6090b0bd5df09432ea1a788b85a8e8.zip
Archos: Trap UserBrk in the gdb debugger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7429 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/crt0.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/crt0.S b/firmware/crt0.S
index 65577e02b9..4459f2eb15 100644
--- a/firmware/crt0.S
+++ b/firmware/crt0.S
@@ -360,6 +360,12 @@ vectors:
360 mov.l @(r0,r2),r3 360 mov.l @(r0,r2),r3
361 mov.l r3,@(r0,r1) 361 mov.l r3,@(r0,r1)
362 362
363 /* Move the UserBreak vector as well (12) */
364 mov #12,r0
365 shll2 r0
366 mov.l @(r0,r2),r3
367 mov.l r3,@(r0,r1)
368
363 /* Move the breakpoint trap vector (32) */ 369 /* Move the breakpoint trap vector (32) */
364 mov #32,r0 370 mov #32,r0
365 shll2 r0 371 shll2 r0