}
if (n_files > 0)
- printf (_("File name Line number Starting address View Stmt\n"));
+ {
+ if (do_wide)
+ printf (_("File name Line number Starting address View Stmt\n"));
+ else
+ printf (_("File name Line number Starting address View Stmt\n"));
+ }
else
printf (_("CU: Empty file name table\n"));
saved_linfo = linfo;
if (linfo.li_max_ops_per_insn == 1)
{
if (xop == -DW_LNE_end_sequence)
- printf ("%-35s %11s %#18" PRIx64,
+ printf ("%-31s %11s %#18" PRIx64,
newFileName, "-",
state_machine_regs.address);
else
- printf ("%-35s %11d %#18" PRIx64,
+ printf ("%-31s %11d %#18" PRIx64,
newFileName, state_machine_regs.line,
state_machine_regs.address);
}
else
{
if (xop == -DW_LNE_end_sequence)
- printf ("%-35s %11s %#18" PRIx64 "[%d]",
+ printf ("%-31s %11s %#18" PRIx64 "[%d]",
newFileName, "-",
state_machine_regs.address,
state_machine_regs.op_index);
else
- printf ("%-35s %11d %#18" PRIx64 "[%d]",
+ printf ("%-31s %11d %#18" PRIx64 "[%d]",
newFileName, state_machine_regs.line,
state_machine_regs.address,
state_machine_regs.op_index);
Contents of the .debug_line section:
main.c:
-File name Line number Starting address View Stmt
-main.c 6 0x1234 x
-main.c 6 0x12346 x
-main.c - 0x1234
+File name[ ]+Line number[ ]+Starting address[ ]+View[ ]+Stmt
+main.c[ ]+6[ ]+0x1234[ ]+x
+main.c[ ]+6[ ]+0x12346[ ]+x
+main.c[ ]+-[ ]+0x1234
-main.c 5 0x1234 x
-main.c 5 0x1234 x
-main.c - 0x1234
+main.c[ ]+5[ ]+0x1234[ ]+x
+main.c[ ]+5[ ]+0x1234[ ]+x
+main.c[ ]+-[ ]+0x1234
Contents of the \.debug_line section:
dw2-decodedline\.c:
-File name Line number Starting address View Stmt
+File name[ ]+Line number[ ]+Starting address[ ]+View[ ]+Stmt
directory/file1\.c:
-file1\.c 1 .*
+file1\.c[ ]+1 .*
\./dw2-decodedline\.c:\[\+\+\]
-dw2-decodedline\.c 2 .*
-dw2-decodedline\.c - .*
+dw2-decodedline\.c[ ]+2 .*
+dw2-decodedline\.c[ ]+- .*