Discussion:
Add display of is_stmt flag.
John Darrington
2018-09-19 18:29:59 UTC
Permalink
I'm triaging some issues with gdb which seem to be related to the dwarf line
information. But unfortunately this info isn't explicitly displayed by objdump.
This patch fixes.that.
John Darrington
2018-09-19 18:30:00 UTC
Permalink
binutils/
* dwarf.c (display_debug_lines_decoded): Add display of is_stmt.
* testsuite/binutils-all/dw5.W: Deal with the consequences.
* testsuite/binutils-all/objdump.WL: Deal with the consequences.
---
binutils/dwarf.c | 11 ++++++++---
binutils/testsuite/binutils-all/dw5.W | 14 +++++++-------
binutils/testsuite/binutils-all/objdump.WL | 2 +-
3 files changed, 16 insertions(+), 11 deletions(-)

diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index ad961b8c9d..a85a9ab2e3 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -4357,7 +4357,7 @@ display_debug_lines_decoded (struct dwarf_section * section,
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;
}

@@ -4695,9 +4695,14 @@ display_debug_lines_decoded (struct dwarf_section * section,
}

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)
diff --git a/binutils/testsuite/binutils-all/dw5.W b/binutils/testsuite/binutils-all/dw5.W
index 8ea0b28ba5..74c02566ee 100644
--- a/binutils/testsuite/binutils-all/dw5.W
+++ b/binutils/testsuite/binutils-all/dw5.W
@@ -345,13 +345,13 @@ Raw dump of debug contents of section .debug_line:
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


diff --git a/binutils/testsuite/binutils-all/objdump.WL b/binutils/testsuite/binutils-all/objdump.WL
index c8bac334e5..954fb3e67f 100644
--- a/binutils/testsuite/binutils-all/objdump.WL
+++ b/binutils/testsuite/binutils-all/objdump.WL
@@ -4,7 +4,7 @@
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 .*
--
2.11.0
Nick Clifton
2018-09-20 09:44:08 UTC
Permalink
Hi John,
Post by John Darrington
binutils/
* dwarf.c (display_debug_lines_decoded): Add display of is_stmt.
* testsuite/binutils-all/dw5.W: Deal with the consequences.
* testsuite/binutils-all/objdump.WL: Deal with the consequences.
Approved - please apply.

Cheers
Nick
H.J. Lu
2018-09-20 17:48:54 UTC
Permalink
On Wed, Sep 19, 2018 at 11:30 AM, John Darrington
Post by John Darrington
binutils/
* dwarf.c (display_debug_lines_decoded): Add display of is_stmt.
* testsuite/binutils-all/dw5.W: Deal with the consequences.
* testsuite/binutils-all/objdump.WL: Deal with the consequences.
---
binutils/dwarf.c | 11 ++++++++---
binutils/testsuite/binutils-all/dw5.W | 14 +++++++-------
binutils/testsuite/binutils-all/objdump.WL | 2 +-
3 files changed, 16 insertions(+), 11 deletions(-)
This caused:

https://sourceware.org/bugzilla/show_bug.cgi?id=23695
--
H.J.
H.J. Lu
2018-09-20 18:00:42 UTC
Permalink
Post by H.J. Lu
On Wed, Sep 19, 2018 at 11:30 AM, John Darrington
Post by John Darrington
binutils/
* dwarf.c (display_debug_lines_decoded): Add display of is_stmt.
* testsuite/binutils-all/dw5.W: Deal with the consequences.
* testsuite/binutils-all/objdump.WL: Deal with the consequences.
---
binutils/dwarf.c | 11 ++++++++---
binutils/testsuite/binutils-all/dw5.W | 14 +++++++-------
binutils/testsuite/binutils-all/objdump.WL | 2 +-
3 files changed, 16 insertions(+), 11 deletions(-)
https://sourceware.org/bugzilla/show_bug.cgi?id=23695
I checked in this patch to fix it.
--
H.J.
John Darrington
2018-09-20 18:12:39 UTC
Permalink
Thanks.
Post by H.J. Lu
On Wed, Sep 19, 2018 at 11:30 AM, John Darrington
Post by John Darrington
binutils/
* dwarf.c (display_debug_lines_decoded): Add display of is_stmt.
* testsuite/binutils-all/dw5.W: Deal with the consequences.
* testsuite/binutils-all/objdump.WL: Deal with the consequences.
---
binutils/dwarf.c | 11 ++++++++---
binutils/testsuite/binutils-all/dw5.W | 14 +++++++-------
binutils/testsuite/binutils-all/objdump.WL | 2 +-
3 files changed, 16 insertions(+), 11 deletions(-)
https://sourceware.org/bugzilla/show_bug.cgi?id=23695
I checked in this patch to fix it.

--
H.J.

From ddb77fcccbbff14d6426d01357942e88d240dfbe Mon Sep 17 00:00:00 2001
From: "H.J. Lu" <***@gmail.com>
Date: Thu, 20 Sep 2018 10:55:36 -0700
Subject: [PATCH] gas: Update expected outputs of "readelf -wL"

Update expected outputs of "readelf -wL" for

commit 17f6ade235fc96b4e572b5251b344d426c5f1cd5
Author: John Darrington <***@darrington.wattle.id.au>
Date: Wed Sep 19 19:56:29 2018 +0200

binutils --dwarf=decodedline: Add display of is_stmt flag

which adds display of is_stmt flag.

PR binutils/23695
* testsuite/gas/elf/dwarf2-11.d: Update expected outputs of
"readelf -wL".
* testsuite/gas/elf/dwarf2-12.d: Likewise.
* testsuite/gas/elf/dwarf2-13.d: Likewise.
* testsuite/gas/elf/dwarf2-14.d: Likewise.
* testsuite/gas/elf/dwarf2-15.d: Likewise.
* testsuite/gas/elf/dwarf2-16.d: Likewise.
* testsuite/gas/elf/dwarf2-17.d: Likewise.
* testsuite/gas/elf/dwarf2-18.d: Likewise.
* testsuite/gas/elf/dwarf2-5.d: Likewise.
* testsuite/gas/elf/dwarf2-6.d: Likewise.
* testsuite/gas/elf/dwarf2-7.d: Likewise.
---
gas/ChangeLog | 16 ++++++++++++++++
gas/testsuite/gas/elf/dwarf2-11.d | 8 ++++----
gas/testsuite/gas/elf/dwarf2-12.d | 10 +++++-----
gas/testsuite/gas/elf/dwarf2-13.d | 10 +++++-----
gas/testsuite/gas/elf/dwarf2-14.d | 10 +++++-----
gas/testsuite/gas/elf/dwarf2-15.d | 10 +++++-----
gas/testsuite/gas/elf/dwarf2-16.d | 10 +++++-----
gas/testsuite/gas/elf/dwarf2-17.d | 10 +++++-----
gas/testsuite/gas/elf/dwarf2-18.d | 10 +++++-----
gas/testsuite/gas/elf/dwarf2-5.d | 28 ++++++++++++++--------------
gas/testsuite/gas/elf/dwarf2-6.d | 24 ++++++++++++------------
gas/testsuite/gas/elf/dwarf2-7.d | 10 +++++-----
12 files changed, 86 insertions(+), 70 deletions(-)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index 637fc65648..8a8eb20373 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,19 @@
+2018-09-20 H.J. Lu <***@intel.com>
+
+ PR binutils/23695
+ * testsuite/gas/elf/dwarf2-11.d: Update expected outputs of
+ "readelf -wL".
+ * testsuite/gas/elf/dwarf2-12.d: Likewise.
+ * testsuite/gas/elf/dwarf2-13.d: Likewise.
+ * testsuite/gas/elf/dwarf2-14.d: Likewise.
+ * testsuite/gas/elf/dwarf2-15.d: Likewise.
+ * testsuite/gas/elf/dwarf2-16.d: Likewise.
+ * testsuite/gas/elf/dwarf2-17.d: Likewise.
+ * testsuite/gas/elf/dwarf2-18.d: Likewise.
+ * testsuite/gas/elf/dwarf2-5.d: Likewise.
+ * testsuite/gas/elf/dwarf2-6.d: Likewise.
+ * testsuite/gas/elf/dwarf2-7.d: Likewise.
+
2018-09-20 Maciej W. Rozycki <***@linux-mips.org>

* config/tc-s12z.c (lex_opr): Use an auxiliary unsigned variable
diff --git a/gas/testsuite/gas/elf/dwarf2-11.d b/gas/testsuite/gas/elf/dwarf2-11.d
index bd0e6ca0c5..2a5ec84d4d 100644
--- a/gas/testsuite/gas/elf/dwarf2-11.d
+++ b/gas/testsuite/gas/elf/dwarf2-11.d
@@ -9,7 +9,7 @@
Contents of the \.debug_line section:

CU: dwarf2-11\.c:
-File name *Line number *Starting address *View
-dwarf2-11\.c *1 *0x4
-dwarf2-11\.c *2 *0x8
-dwarf2-11\.c *2 *0x8 *1
+File name *Line number *Starting address *View +Stmt
+dwarf2-11\.c *1 *0x4 +x
+dwarf2-11\.c *2 *0x8 +x
+dwarf2-11\.c *2 *0x8 *1 +x
diff --git a/gas/testsuite/gas/elf/dwarf2-12.d b/gas/testsuite/gas/elf/dwarf2-12.d
index 9a07b5914f..58cda41bb0 100644
--- a/gas/testsuite/gas/elf/dwarf2-12.d
+++ b/gas/testsuite/gas/elf/dwarf2-12.d
@@ -13,8 +13,8 @@ Hex dump of section '\.rodata':
Contents of the \.debug_line section:

CU: dwarf2-12\.c:
-File name *Line number *Starting address *View
-dwarf2-12\.c *1 *0
-dwarf2-12\.c *2 *0
-dwarf2-12\.c *3 *0 *1
-dwarf2-12\.c *3 *0x4
+File name *Line number *Starting address *View +Stmt
+dwarf2-12\.c *1 *0 +x
+dwarf2-12\.c *2 *0 +x
+dwarf2-12\.c *3 *0 *1 +x
+dwarf2-12\.c *3 *0x4 +x
diff --git a/gas/testsuite/gas/elf/dwarf2-13.d b/gas/testsuite/gas/elf/dwarf2-13.d
index 8ec16eb6cb..bcda370250 100644
--- a/gas/testsuite/gas/elf/dwarf2-13.d
+++ b/gas/testsuite/gas/elf/dwarf2-13.d
@@ -12,8 +12,8 @@ Hex dump of section '\.rodata':
Contents of the \.debug_line section:

CU: dwarf2-13\.c:
-File name *Line number *Starting address *View
-dwarf2-13\.c *1 *0x4
-dwarf2-13\.c *2 *0x8
-dwarf2-13\.c *3 *0x8 *1
-dwarf2-13\.c *3 *0xc
+File name *Line number *Starting address *View +Stmt
+dwarf2-13\.c *1 *0x4 +x
+dwarf2-13\.c *2 *0x8 +x
+dwarf2-13\.c *3 *0x8 *1 +x
+dwarf2-13\.c *3 *0xc +x
diff --git a/gas/testsuite/gas/elf/dwarf2-14.d b/gas/testsuite/gas/elf/dwarf2-14.d
index 14193893ff..d0ee7c30e4 100644
--- a/gas/testsuite/gas/elf/dwarf2-14.d
+++ b/gas/testsuite/gas/elf/dwarf2-14.d
@@ -12,8 +12,8 @@ Hex dump of section '\.rodata':
Contents of the \.debug_line section:

CU: dwarf2-14\.c:
-File name *Line number *Starting address *View
-dwarf2-14\.c *1 *0
-dwarf2-14\.c *2 *0
-dwarf2-14\.c *3 *0 *1
-dwarf2-14\.c *3 *0x4
+File name *Line number *Starting address *View +Stmt
+dwarf2-14\.c *1 *0 +x
+dwarf2-14\.c *2 *0 +x
+dwarf2-14\.c *3 *0 *1 +x
+dwarf2-14\.c *3 *0x4 +x
diff --git a/gas/testsuite/gas/elf/dwarf2-15.d b/gas/testsuite/gas/elf/dwarf2-15.d
index cabb6a649a..77ba210841 100644
--- a/gas/testsuite/gas/elf/dwarf2-15.d
+++ b/gas/testsuite/gas/elf/dwarf2-15.d
@@ -12,8 +12,8 @@ Hex dump of section '\.rodata':
Contents of the \.debug_line section:

CU: dwarf2-15\.c:
-File name *Line number *Starting address *View
-dwarf2-15\.c *1 *0
-dwarf2-15\.c *2 *0x4
-dwarf2-15\.c *3 *0x4 *1
-dwarf2-15\.c *3 *0x8
+File name *Line number *Starting address *View +Stmt
+dwarf2-15\.c *1 *0 +x
+dwarf2-15\.c *2 *0x4 +x
+dwarf2-15\.c *3 *0x4 *1 +x
+dwarf2-15\.c *3 *0x8 +x
diff --git a/gas/testsuite/gas/elf/dwarf2-16.d b/gas/testsuite/gas/elf/dwarf2-16.d
index a7b057140b..b8a45c8f73 100644
--- a/gas/testsuite/gas/elf/dwarf2-16.d
+++ b/gas/testsuite/gas/elf/dwarf2-16.d
@@ -13,8 +13,8 @@ Hex dump of section '\.rodata':
Contents of the \.debug_line section:

CU: dwarf2-16\.c:
-File name *Line number *Starting address *View
-dwarf2-16\.c *1 *0
-dwarf2-16\.c *2 *0x4
-dwarf2-16\.c *3 *0x4 *1
-dwarf2-16\.c *3 *0x8
+File name *Line number *Starting address *View +Stmt
+dwarf2-16\.c *1 *0 +x
+dwarf2-16\.c *2 *0x4 +x
+dwarf2-16\.c *3 *0x4 *1 +x
+dwarf2-16\.c *3 *0x8 +x
diff --git a/gas/testsuite/gas/elf/dwarf2-17.d b/gas/testsuite/gas/elf/dwarf2-17.d
index f5a54489b6..fbd474e756 100644
--- a/gas/testsuite/gas/elf/dwarf2-17.d
+++ b/gas/testsuite/gas/elf/dwarf2-17.d
@@ -13,8 +13,8 @@ Hex dump of section '\.rodata':
Contents of the \.debug_line section:

CU: dwarf2-17\.c:
-File name *Line number *Starting address *View
-dwarf2-17\.c *1 *0
-dwarf2-17\.c *2 *0x4
-dwarf2-17\.c *3 *0x8
-dwarf2-17\.c *3 *0xc
+File name *Line number *Starting address *View +Stmt
+dwarf2-17\.c *1 *0 +x
+dwarf2-17\.c *2 *0x4 +x
+dwarf2-17\.c *3 *0x8 +x
+dwarf2-17\.c *3 *0xc +x
diff --git a/gas/testsuite/gas/elf/dwarf2-18.d b/gas/testsuite/gas/elf/dwarf2-18.d
index b31739adb6..a93a9f98de 100644
--- a/gas/testsuite/gas/elf/dwarf2-18.d
+++ b/gas/testsuite/gas/elf/dwarf2-18.d
@@ -12,8 +12,8 @@ Hex dump of section '\.rodata':
Contents of the \.debug_line section:

CU: dwarf2-18\.c:
-File name *Line number *Starting address *View
-dwarf2-18\.c *1 *0
-dwarf2-18\.c *2 *0 *1
-dwarf2-18\.c *3 *0x4
-dwarf2-18\.c *3 *0x8
+File name *Line number *Starting address *View +Stmt
+dwarf2-18\.c *1 *0 +x
+dwarf2-18\.c *2 *0 *1 +x
+dwarf2-18\.c *3 *0x4 +x
+dwarf2-18\.c *3 *0x8 +x
diff --git a/gas/testsuite/gas/elf/dwarf2-5.d b/gas/testsuite/gas/elf/dwarf2-5.d
index 437f4dfa31..c7851371e0 100644
--- a/gas/testsuite/gas/elf/dwarf2-5.d
+++ b/gas/testsuite/gas/elf/dwarf2-5.d
@@ -63,17 +63,17 @@ Raw dump of debug contents of section \.debug_line:
Contents of the \.debug_line section:

CU: dwarf2-5\.c:
-File name *Line number *Starting address *View
-dwarf2-5\.c *1 *0
-dwarf2-5\.c *2 *0 *1
-dwarf2-5\.c *3 *0x4
-dwarf2-5\.c *4 *0x4 *1
-dwarf2-5\.c *5 *0x4 *2
-dwarf2-5\.c *6 *0x8
-dwarf2-5\.c *7 *0xc
-dwarf2-5\.c *8 *0xc *1
-dwarf2-5\.c *9 *0x10
-dwarf2-5\.c *10 *0x10 *1
-dwarf2-5\.c *11 *0x10 *2
-dwarf2-5\.c *12 *0x10 *3
-dwarf2-5\.c *12 *0x14
+File name *Line number *Starting address *View +Stmt
+dwarf2-5\.c *1 *0 +x
+dwarf2-5\.c *2 *0 *1 +x
+dwarf2-5\.c *3 *0x4 +x
+dwarf2-5\.c *4 *0x4 *1 +x
+dwarf2-5\.c *5 *0x4 *2 +x
+dwarf2-5\.c *6 *0x8 +x
+dwarf2-5\.c *7 *0xc +x
+dwarf2-5\.c *8 *0xc *1 +x
+dwarf2-5\.c *9 *0x10 +x
+dwarf2-5\.c *10 *0x10 *1 +x
+dwarf2-5\.c *11 *0x10 *2 +x
+dwarf2-5\.c *12 *0x10 *3 +x
+dwarf2-5\.c *12 *0x14 +x
diff --git a/gas/testsuite/gas/elf/dwarf2-6.d b/gas/testsuite/gas/elf/dwarf2-6.d
index 415de4c466..5bcbc8897d 100644
--- a/gas/testsuite/gas/elf/dwarf2-6.d
+++ b/gas/testsuite/gas/elf/dwarf2-6.d
@@ -64,15 +64,15 @@ Raw dump of debug contents of section .debug_line:
Contents of the \.debug_line section:

CU: dwarf2-6\.c:
-File name *Line number *Starting address *View
-dwarf2-6\.c *1 *0
-dwarf2-6\.c *1 *0 *1
-dwarf2-6\.c *1 *0x1
-dwarf2-6\.c *1 *0x1 *1
-dwarf2-6\.c *1 *0x2
-dwarf2-6\.c *1 *0x3 *1
-dwarf2-6\.c *2 *0x3 *2
-dwarf2-6\.c *3 *0x4
-dwarf2-6\.c *3 *0x4 *1
-dwarf2-6\.c *3 *0xf3
-dwarf2-6\.c *3 *0x100
+File name *Line number *Starting address *View +Stmt
+dwarf2-6\.c *1 *0 +x
+dwarf2-6\.c *1 *0 *1 +x
+dwarf2-6\.c *1 *0x1 +x
+dwarf2-6\.c *1 *0x1 *1 +x
+dwarf2-6\.c *1 *0x2 +x
+dwarf2-6\.c *1 *0x3 *1 +x
+dwarf2-6\.c *2 *0x3 *2 +x
+dwarf2-6\.c *3 *0x4 +x
+dwarf2-6\.c *3 *0x4 *1 +x
+dwarf2-6\.c *3 *0xf3 +x
+dwarf2-6\.c *3 *0x100 +x
diff --git a/gas/testsuite/gas/elf/dwarf2-7.d b/gas/testsuite/gas/elf/dwarf2-7.d
index fec6cf861f..2f457aa186 100644
--- a/gas/testsuite/gas/elf/dwarf2-7.d
+++ b/gas/testsuite/gas/elf/dwarf2-7.d
@@ -12,8 +12,8 @@ Hex dump of section '\.rodata':
Contents of the \.debug_line section:

CU: dwarf2-7\.c:
-File name *Line number *Starting address *View
-dwarf2-7\.c *1 *0
-dwarf2-7\.c *2 *0
-dwarf2-7\.c *3 *0 *1
-dwarf2-7\.c *3 *0x.
+File name *Line number *Starting address *View +Stmt
+dwarf2-7\.c *1 *0 +x
+dwarf2-7\.c *2 *0 +x
+dwarf2-7\.c *3 *0 *1 +x
+dwarf2-7\.c *3 *0x. +x
--
2.17.1
--
Avoid eavesdropping. Send strong encrypted email.
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.
H.J. Lu
2018-09-21 00:14:42 UTC
Permalink
On Thu, Sep 20, 2018 at 11:12 AM, John Darrington
Post by John Darrington
Thanks.
Post by H.J. Lu
On Wed, Sep 19, 2018 at 11:30 AM, John Darrington
Post by John Darrington
binutils/
* dwarf.c (display_debug_lines_decoded): Add display of is_stmt.
* testsuite/binutils-all/dw5.W: Deal with the consequences.
* testsuite/binutils-all/objdump.WL: Deal with the consequences.
---
binutils/dwarf.c | 11 ++++++++---
binutils/testsuite/binutils-all/dw5.W | 14 +++++++-------
binutils/testsuite/binutils-all/objdump.WL | 2 +-
3 files changed, 16 insertions(+), 11 deletions(-)
https://sourceware.org/bugzilla/show_bug.cgi?id=23695
I checked in this patch to fix it.
For avr-elf target, I saw

FAIL: AVR, large .debug_line table
FAIL: dwarf decoded line after gc-sections
--
H.J.
Alan Modra
2018-09-21 00:27:08 UTC
Permalink
Post by H.J. Lu
On Wed, Sep 19, 2018 at 11:30 AM, John Darrington
Post by John Darrington
binutils/
* dwarf.c (display_debug_lines_decoded): Add display of is_stmt.
* testsuite/binutils-all/dw5.W: Deal with the consequences.
* testsuite/binutils-all/objdump.WL: Deal with the consequences.
---
binutils/dwarf.c | 11 ++++++++---
binutils/testsuite/binutils-all/dw5.W | 14 +++++++-------
binutils/testsuite/binutils-all/objdump.WL | 2 +-
3 files changed, 16 insertions(+), 11 deletions(-)
https://sourceware.org/bugzilla/show_bug.cgi?id=23695
Also this:
avr-elf +FAIL: AVR, large .debug_line table
avr-elf +FAIL: dwarf decoded line after gc-sections

John, you also have not been committing ChangeLog entries. Why not?

gas/
* testsuite/gas/avr/large-debug-line-table.d: Update.
ld/
* testsuite/ld-avr/gc-section-debugline.d: Update.

diff --git a/gas/ChangeLog b/gas/ChangeLog
index 8a8eb20373..a9ff07d509 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2018-09-21 Alan Modra <***@gmail.com>
+
+ * testsuite/gas/avr/large-debug-line-table.d: Update.
+
2018-09-20 H.J. Lu <***@intel.com>

PR binutils/23695
diff --git a/gas/testsuite/gas/avr/large-debug-line-table.d b/gas/testsuite/gas/avr/large-debug-line-table.d
index 61612cfcb8..d39e8b82d4 100644
--- a/gas/testsuite/gas/avr/large-debug-line-table.d
+++ b/gas/testsuite/gas/avr/large-debug-line-table.d
@@ -9,7 +9,6 @@
Contents of the \.debug_line section:

CU: large-debug-line-table\.c:
-File name Line number Starting address.*
-large-debug-line-table\.c 1 0
-
+File +name +Line +number +Starting +address +View +Stmt
+large-debug-line-table.c +1 +0 +x
#...
diff --git a/ld/ChangeLog b/ld/ChangeLog
index d7545001d3..466c80ad25 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2018-09-21 Alan Modra <***@gmail.com>
+
+ * testsuite/ld-avr/gc-section-debugline.d: Update.
+
2018-09-20 H.J. Lu <***@intel.com>

* testsuite/ld-checks/over2.s: Add "_main" for LynxOS targets.
diff --git a/ld/testsuite/ld-avr/gc-section-debugline.d b/ld/testsuite/ld-avr/gc-section-debugline.d
index b17e8d8247..6e440ffe10 100644
--- a/ld/testsuite/ld-avr/gc-section-debugline.d
+++ b/ld/testsuite/ld-avr/gc-section-debugline.d
@@ -10,60 +10,35 @@
Contents of the \.debug_line section:

.*:
-File name Line number Starting address View
-per-function-debugline.s 39 0
-
-per-function-debugline.s 40 0x2 1
-
-per-function-debugline.s 41 0x4 2
-
-per-function-debugline.s 42 0x6 3
-
-per-function-debugline.s 47 0x8 4
-
-per-function-debugline.s 48 0xc 5
-
-per-function-debugline.s 49 0x10 6
-
-per-function-debugline.s 50 0x12 7
-
-per-function-debugline.s 51 0x16 8
-
-per-function-debugline.s 52 0x1a 9
-
-per-function-debugline.s 54 0x1c 10
-
-per-function-debugline.s 55 0x1e 11
-
-per-function-debugline.s 56 0x20 12
-
-per-function-debugline.s 56 0x22 13
-
-per-function-debugline.s 62 0x22
-
-per-function-debugline.s 63 0x24 1
-
-per-function-debugline.s 64 0x26 2
-
-per-function-debugline.s 65 0x28 3
-
-per-function-debugline.s 70 0x2a 4
-
-per-function-debugline.s 71 0x2e 5
-
-per-function-debugline.s 72 0x32 6
-
-per-function-debugline.s 73 0x36 7
-
-per-function-debugline.s 74 0x38 8
-
-per-function-debugline.s 75 0x3c 9
-
-per-function-debugline.s 76 0x40 10
-
-per-function-debugline.s 77 0x44 11
-
-per-function-debugline.s 79 0x48 12
-
-per-function-debugline.s 80 0x4a 13
-#pass
+File +name +Line +number +Starting +address +View +Stmt
+per-function-debugline.s +39 +0 +x
+per-function-debugline.s +40 +0x2 +1 +x
+per-function-debugline.s +41 +0x4 +2 +x
+per-function-debugline.s +42 +0x6 +3 +x
+per-function-debugline.s +47 +0x8 +4 +x
+per-function-debugline.s +48 +0xc +5 +x
+per-function-debugline.s +49 +0x10 +6 +x
+per-function-debugline.s +50 +0x12 +7 +x
+per-function-debugline.s +51 +0x16 +8 +x
+per-function-debugline.s +52 +0x1a +9 +x
+per-function-debugline.s +54 +0x1c +10 +x
+per-function-debugline.s +55 +0x1e +11 +x
+per-function-debugline.s +56 +0x20 +12 +x
+per-function-debugline.s +56 +0x22 +13 +x
+
+per-function-debugline.s +62 +0x22 +x
+per-function-debugline.s +63 +0x24 +1 +x
+per-function-debugline.s +64 +0x26 +2 +x
+per-function-debugline.s +65 +0x28 +3 +x
+per-function-debugline.s +70 +0x2a +4 +x
+per-function-debugline.s +71 +0x2e +5 +x
+per-function-debugline.s +72 +0x32 +6 +x
+per-function-debugline.s +73 +0x36 +7 +x
+per-function-debugline.s +74 +0x38 +8 +x
+per-function-debugline.s +75 +0x3c +9 +x
+per-function-debugline.s +76 +0x40 +10 +x
+per-function-debugline.s +77 +0x44 +11 +x
+per-function-debugline.s +79 +0x48 +12 +x
+per-function-debugline.s +80 +0x4a +13 +x
+per-function-debugline.s +81 +0x4c +14 +x
+per-function-debugline.s +81 +0x4e +15 +x
--
Alan Modra
Australia Development Lab, IBM
John Darrington
2018-09-21 05:27:45 UTC
Permalink
On Fri, Sep 21, 2018 at 09:57:08AM +0930, Alan Modra wrote:

John, you also have not been committing ChangeLog entries. Why not?

I thought Nick said not to?

Loading...