summaryrefslogtreecommitdiff
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.s16
1 files changed, 16 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.asm/asmsrc2.s b/gdb/testsuite/gdb.asm/asmsrc2.s
new file mode 100644
index 00000000000..3d48c6c02fb
--- /dev/null
+++ b/gdb/testsuite/gdb.asm/asmsrc2.s
@@ -0,0 +1,16 @@
+ .include "common.inc"
+ .include "arch.inc"
+
+comment "Second file in assembly source debugging testcase."
+
+ .global foo2
+foo2:
+ enter
+
+comment "Call someplace else."
+
+ call foo3
+
+comment "All done, return."
+
+ leave