This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] binutils --dwarf=decodedline: Add display of is_stmt flag


On Thu, Sep 20, 2018 at 11:00:42AM -0700, H.J. Lu wrote:
> On Thu, Sep 20, 2018 at 10:48 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> > On Wed, Sep 19, 2018 at 11:30 AM, John Darrington
> > <john@darrington.wattle.id.au> wrote:
> >> 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

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  <amodra@gmail.com>
+
+	* testsuite/gas/avr/large-debug-line-table.d: Update.
+
 2018-09-20  H.J. Lu  <hongjiu.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  <amodra@gmail.com>
+
+	* testsuite/ld-avr/gc-section-debugline.d: Update.
+
 2018-09-20  H.J. Lu  <hongjiu.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]