* Makefile.in (acconfig_h): Remove incorrect macro.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.asm / common.inc
CommitLineData
c906108c
SS
1 .macro comment text
2 .endm
3
4 comment "Can't rely on assembler comment character so do this."
5
6 .macro include arch file
7 .include "\arch\file"
8 .endm
9
ca9efc90
MS
10 comment "Declare a data variable"
11 .macro gdbasm_datavar name value
12 .data
13\name:
14 .word \value
15 .endm
16
8b1d7e37
DJ
17 comment "Declare a subroutine"
18 .macro gdbasm_declare name
19\name:
20 .endm
21
22 comment "End a subroutine"
23 .macro gdbasm_end name
24 .endm
25
c906108c
SS
26comment "arch.inc is responsible for defining the following macros:"
27comment "enter - subroutine prologue"
28comment "leave - subroutine epilogue"
29comment "call - call a named subroutine"
30comment "several_nops - execute several (typically 4) nops"
31comment "exit0 - exit (0)"
32
ca9efc90
MS
33comment "arch.inc may also override the default definitions of:"
34comment "datavar - define a data variable"
8b1d7e37
DJ
35comment "declare - declare the start of a subroutine"
36comment "end - end a subroutine"
This page took 0.33203 seconds and 4 git commands to generate.