aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.linespec/break-asm-file1.s
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.linespec/break-asm-file1.s')
-rw-r--r--gdb/testsuite/gdb.linespec/break-asm-file1.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.linespec/break-asm-file1.s b/gdb/testsuite/gdb.linespec/break-asm-file1.s
index a1e7a42..4372626 100644
--- a/gdb/testsuite/gdb.linespec/break-asm-file1.s
+++ b/gdb/testsuite/gdb.linespec/break-asm-file1.s
@@ -34,6 +34,8 @@ func:
nop
.Lfunc_1:
nop
+.Lfunc_2:
+ nop
.Lend_func:
.size func, .-func
.Lend_text1:
@@ -228,6 +230,18 @@ func:
.byte 2
.4byte .Lfunc_1
+ /* A line number entry for the same line (7) denotes the end */
+ /* of prologue. */
+ .byte 3 /* DW_LNS_advance_line */
+ .sleb128 0 /* ... to 7 */
+
+ .byte 1 /* DW_LNS_copy */
+
+ .byte 0 /* DW_LNE_set_address */
+ .uleb128 5
+ .byte 2
+ .4byte .Lfunc_2
+
.byte 3 /* DW_LNS_advance_line */
.sleb128 1 /* ... to 8 */