aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.asm/asmsrc2.s
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.asm/asmsrc2.s')
-rw-r--r--gdb/testsuite/gdb.asm/asmsrc2.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.asm/asmsrc2.s b/gdb/testsuite/gdb.asm/asmsrc2.s
new file mode 100644
index 0000000..4c22987
--- /dev/null
+++ b/gdb/testsuite/gdb.asm/asmsrc2.s
@@ -0,0 +1,14 @@
+; Second file in assembly source debugging testcase.
+
+ .global foo2
+foo2:
+ st r13,@-sp
+
+; Call someplace else
+
+ bl foo3
+
+; All done, return.
+
+ ld r13,@sp+
+ jmp r13