aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.asm/asmsrc2.s
blob: 288b708f1f780b7fb522b05c84f4349b56872e56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
	.include "common.inc"
	.include "arch.inc"

	comment "Second file in assembly source debugging testcase."

	.global foo2
	gdbasm_declare foo2
	comment "mark: foo2 start"
	gdbasm_enter

	comment "Call someplace else (several times)."

	comment "mark: call foo3"
	gdbasm_call foo3
	gdbasm_call foo3

	comment "All done, return."

	comment "mark: foo2 leave"
	gdbasm_leave
	gdbasm_end foo2
	.section	.note.GNU-stack,"",@progbits