aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.asm/asmsrc2.s
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1998-03-13 01:36:59 +0000
committerDoug Evans <dje@google.com>1998-03-13 01:36:59 +0000
commit681a9f4adbd3fb0b5ca24866a84d5b00784c533f (patch)
tree89a1a07223e8d475c2d6ef004bb4e7832e505e11 /gdb/testsuite/gdb.asm/asmsrc2.s
parent89d7d8094b2f11c073035007c92aac5188358440 (diff)
downloadgdb-681a9f4adbd3fb0b5ca24866a84d5b00784c533f.zip
gdb-681a9f4adbd3fb0b5ca24866a84d5b00784c533f.tar.gz
gdb-681a9f4adbd3fb0b5ca24866a84d5b00784c533f.tar.bz2
snapshot
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