OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [testsuite/] [gdb.asm/] [asmsrc1.s] - Blame information for rev 107

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 106 markom
        .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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.