-; Second file in assembly source debugging testcase.
+ .include "common.inc"
+ .include "arch.inc"
+
+comment "Second file in assembly source debugging testcase."
.global foo2
-foo2:
- st r13,@-sp
+gdbasm_declare foo2
+ gdbasm_enter
-; Call someplace else
+comment "Call someplace else (several times)."
- bl foo3
+ gdbasm_call foo3
+ gdbasm_call foo3
-; All done, return.
+comment "All done, return."
- ld r13,@sp+
- jmp r13
+ gdbasm_leave
+ gdbasm_end foo2