7cca3abf04c83f1123ab1d74f3040f174c7d3510
[binutils-gdb.git] / gdb / testsuite / gdb.asm / common.inc
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
10 comment "arch.inc is responsible for defining the following macros:"
11 comment "enter - subroutine prologue"
12 comment "leave - subroutine epilogue"
13 comment "call - call a named subroutine"
14 comment "several_nops - execute several (typically 4) nops"
15 comment "exit0 - exit (0)"
16
17 comment "macros to label a subroutine may also eventually be needed"
18 comment "i.e. .global foo\nfoo:\n"