repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gdb6
/
gdb
/
testsuite
/
gdb.asm
/
arm.inc
blob
65502277bfdd362de0851e1f9e2e3cbc091785d8
1
comment "subroutine prologue"
2
.macro gdbasm_enter
3
mov ip, sp
4
stmdb sp!, {fp, ip, lr, pc}
5
sub fp, ip, #4
6
.endm
7
8
comment "subroutine epilogue"
9
.macro gdbasm_leave
10
ldmea fp, {fp, sp, pc}
11
.endm
12
13
.macro gdbasm_call subr
14
bl \subr
15
.endm
16
17
.macro gdbasm_several_nops
18
nop
19
nop
20
nop
21
nop
22
.endm
23
24
comment "exit (0)"
25
.macro gdbasm_exit0
26
mov r0, #0
27
swi 0x00123456
28
.endm
29
30
comment "crt0 startup"
31
.macro gdbasm_startup
32
mov fp, #0
33
mov r7, #0
34
.endm
35