aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.linespec/break-asm-file0.s
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.linespec/break-asm-file0.s')
-rw-r--r--gdb/testsuite/gdb.linespec/break-asm-file0.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.linespec/break-asm-file0.s b/gdb/testsuite/gdb.linespec/break-asm-file0.s
index 42c4213..dbc4398 100644
--- a/gdb/testsuite/gdb.linespec/break-asm-file0.s
+++ b/gdb/testsuite/gdb.linespec/break-asm-file0.s
@@ -38,6 +38,8 @@ func:
nop
.Lfunc_1:
nop
+.Lfunc_2:
+ nop
.Lend_func:
.size func, .-func
.Lend_text1:
@@ -202,6 +204,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 */