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.s3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.asm/asmsrc2.s b/gdb/testsuite/gdb.asm/asmsrc2.s
index 9d7713fad84..4366536acbe 100644
--- a/gdb/testsuite/gdb.asm/asmsrc2.s
+++ b/gdb/testsuite/gdb.asm/asmsrc2.s
@@ -4,7 +4,7 @@
comment "Second file in assembly source debugging testcase."
.global foo2
-foo2:
+gdbasm_declare foo2
gdbasm_enter
comment "Call someplace else (several times)."
@@ -15,3 +15,4 @@ comment "Call someplace else (several times)."
comment "All done, return."
gdbasm_leave
+ gdbasm_end foo2