printf ("%s:\n", file_table[0].name);
}
- printf (_("File name Line number Starting address View\n"));
+ printf (_("File name Line number Starting address View Stmt\n"));
saved_linfo = linfo;
}
}
if (state_machine_regs.view)
- printf (" %6u\n", state_machine_regs.view);
+ printf (" %6u", state_machine_regs.view);
else
- putchar ('\n');
+ printf (" ");
+
+ if (state_machine_regs.is_stmt)
+ printf (" x");
+
+ putchar ('\n');
state_machine_regs.view++;
if (xop == -DW_LNE_end_sequence)
Contents of the .debug_line section:
CU: ./main.c:
-File name Line number Starting address View
-main.c 6 0x1234
-main.c 6 0x12346
-main.c 6 0x1234
+File name Line number Starting address View Stmt
+main.c 6 0x1234 x
+main.c 6 0x12346 x
+main.c 6 0x1234 x
-main.c 5 0x1234
-main.c 5 0x1234
-main.c 5 0x1234
+main.c 5 0x1234 x
+main.c 5 0x1234 x
+main.c 5 0x1234 x
Contents of the \.debug_line section:
CU: \./dw2-decodedline\.c:
-File name Line number Starting address View
+File name Line number Starting address View Stmt
directory/file1\.c:
file1\.c 1 .*