Handle the effect of skipping prologue
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.linespec / break-asm-file1.s
index a1e7a42b99afcc09e7a95913403f69e65e6af164..4372626fa665f9f5305f85b7aff93311930bf556 100644 (file)
@@ -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 */
 
This page took 0.024898 seconds and 4 git commands to generate.