Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / gdb6 / gdb / testsuite / gdb.asm / pa64.inc
bloba8aafcd472c89528e8badfb8713bb0330dd78b07
1         comment "subroutine prologue"
2         .macro gdbasm_enter
3         std %rp, -16(%sp)
4         copy %r3, %r1
5         copy %sp, %r3
6         std,ma %r1, 128(%sp)
7         .endm
9         comment "subroutine epilogue"
10         .macro gdbasm_leave
11         ldd -16(%r3), %rp
12         bve (%rp)
13         ldd,mb -128(%sp), %r3
14         .endm
16         .macro gdbasm_call subr
17         b,l     \subr , %rp
18         nop
19         .endm
21         .macro gdbasm_several_nops
22         nop
23         nop
24         nop
25         nop
26         .endm
28         comment "exit (0)"
29         .macro gdbasm_exit0
30         comment "Don't know how to exit, but this will certainly halt..."
31         ldw     0(%r0), %r1
32         .endm
34         comment "crt0 startup"
35         .macro gdbasm_startup
36         .align 8
37         .endm
39         comment "Declare a data variable"
40         .purgem gdbasm_datavar
41         .macro gdbasm_datavar name value
42         .data
43 \name:
44         .long   \value
45         .endm