Patch: DWARF browser

H.J. Lu hjl.tools@gmail.com
Sat Apr 30 13:18:00 GMT 2011


On Thu, Apr 28, 2011 at 6:50 PM, Hans-Peter Nilsson
<hans-peter.nilsson@axis.com> wrote:
>> From: Tom Tromey <tromey@redhat.com>
>> Date: Thu, 28 Apr 2011 11:22:56 -0600
>
>> The test case change is because I had changed a format from "%2lx" to
>> just "%lx".  I didn't notice the test failure the first time around.  I
>> hope this is ok; but if not let me know and I will revert that bit and
>> fix dwarf-mode to follow.
>
> There was something wrong with that testing too.  I committed
> the following as obvious, but haven't checked other targets than
> cross to cris-elf and native i686-pc-linux-gnu.
>
> binutils/testsuite:
>        * binutils-all/i386/compressed-1a.d: Adjust for change in output
>        format.
>
> gas/testsuite:
>        * gas/elf/dwarf2-1.d, gas/elf/dwarf2-2.d: Adjust for change in
>        output format.
>        * gas/i386/dw2-compress-1.d: Ditto.
>

I checked in this patch for x86-64.


-- 
H.J.
---
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index d5703ff..178b3eb 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2011-04-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* binutils-all/x86-64/compressed-1a.d: Adjust for change in output
+	format.
+
 2011-04-29  Hans-Peter Nilsson  <hp@axis.com>

 	* binutils-all/i386/compressed-1a.d: Adjust for change in output
diff --git a/binutils/testsuite/binutils-all/x86-64/compressed-1a.d b/binutils/t
estsuite/binutils-all/x86-64/compressed-1a.d
index 4b1b354..4176f6d 100644
--- a/binutils/testsuite/binutils-all/x86-64/compressed-1a.d
+++ b/binutils/testsuite/binutils-all/x86-64/compressed-1a.d
@@ -33,7 +33,7 @@ Contents of the .[z]?debug_info section:
    Abbrev Offset: 0
    Pointer Size:  8
  <0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
-    < c>   DW_AT_producer    : \(indirect string, offset: 0x0\): GNU C 4.4.4	
+    <c>   DW_AT_producer    : \(indirect string, offset: 0x0\): GNU C 4.4.4	
     <10>   DW_AT_language    : 1	\(ANSI C\)
     <11>   DW_AT_name        : \(indirect string, offset: 0x18\): compressed-1.
c	
     <15>   DW_AT_comp_dir    : \(indirect string, offset: 0x16\): .



More information about the Binutils mailing list