This commit was generated by cvs2svn to track changes on a CVS vendor
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.asm / asmsrc1.s
1 .include "common.inc"
2 .include "arch.inc"
3
4 comment "main routine for assembly source debugging test"
5 comment "This particular testcase uses macros in <arch>.inc to achieve"
6 comment "machine independence. This file must be compiled with -Darch=foo."
7
8 comment "WARNING: asm-source.exp checks for line numbers printed by gdb,"
9 comment "therefore be careful about changing this file without also changing"
10 comment "asm-source.exp."
11
12 .global main
13 main:
14 enter
15
16 comment "Call a macro that consists of several lines of assembler code."
17
18 several_nops
19
20 comment "Call a subroutine in another file."
21
22 call foo2
23
24 comment "All done."
25
26 exit0
27
28 comment "A routine for foo2 to call."
29
30 .global foo3
31 foo3:
32 enter
33 leave
34
35 .global exit
36 exit:
37 exit0
This page took 0.03128 seconds and 5 git commands to generate.