2003-01-20 Elena Zannoni <ezannoni@redhat.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.asm / asmsrc2.s
index 4c22987b85a63b949e3fa3f7fc97fbaebee3d0cc..4366536acbe59d3bba6faaf5c438f728b44357b1 100644 (file)
@@ -1,14 +1,18 @@
-; 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
This page took 0.024469 seconds and 4 git commands to generate.