This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Patch: DWARF browser
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: tromey at redhat dot com
- Cc: nickc at redhat dot com, binutils at sourceware dot org
- Date: Fri, 29 Apr 2011 03:50:39 +0200
- Subject: Re: Patch: DWARF browser
> 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.
Index: binutils-all/i386/compressed-1a.d
===================================================================
RCS file: /cvs/src/src/binutils/testsuite/binutils-all/i386/compressed-1a.d,v
retrieving revision 1.2
diff -p -u -r1.2 compressed-1a.d
--- binutils-all/i386/compressed-1a.d 15 Jul 2010 00:37:12 -0000 1.2
+++ binutils-all/i386/compressed-1a.d 29 Apr 2011 01:38:04 -0000
@@ -33,7 +33,7 @@ Contents of the .[z]?debug_info section:
Abbrev Offset: 0
Pointer Size: 4
<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\): .
Index: gas/elf/dwarf2-1.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/elf/dwarf2-1.d,v
retrieving revision 1.3
diff -p -u -r1.3 dwarf2-1.d
--- gas/elf/dwarf2-1.d 29 Oct 2010 12:10:35 -0000 1.3
+++ gas/elf/dwarf2-1.d 29 Apr 2011 01:41:24 -0000
@@ -11,7 +11,7 @@ Contents of the .[z]?debug_info section:
Abbrev Offset: 0
Pointer Size: 4
<0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
- < c> DW_AT_stmt_list : 0x0
+ <c> DW_AT_stmt_list : 0x0
<10> DW_AT_high_pc : 0x.
<14> DW_AT_low_pc : 0x.
<18> DW_AT_name : file1.txt
Index: gas/elf/dwarf2-2.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/elf/dwarf2-2.d,v
retrieving revision 1.3
diff -p -u -r1.3 dwarf2-2.d
--- gas/elf/dwarf2-2.d 29 Oct 2010 12:10:35 -0000 1.3
+++ gas/elf/dwarf2-2.d 29 Apr 2011 01:41:24 -0000
@@ -11,7 +11,7 @@ Contents of the .[z]?debug_info section:
Abbrev Offset: 0
Pointer Size: 4
<0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
- < c> DW_AT_stmt_list : 0x0
+ <c> DW_AT_stmt_list : 0x0
<10> DW_AT_high_pc : 0x.
<14> DW_AT_low_pc : 0x.
<18> DW_AT_name : file1.txt
Index: gas/i386/dw2-compress-1.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/i386/dw2-compress-1.d,v
retrieving revision 1.3
diff -p -u -r1.3 dw2-compress-1.d
--- gas/i386/dw2-compress-1.d 3 Sep 2010 15:54:32 -0000 1.3
+++ gas/i386/dw2-compress-1.d 29 Apr 2011 01:41:24 -0000
@@ -10,7 +10,7 @@ Contents of the .zdebug_info section:
Abbrev Offset: 0
Pointer Size: 4
<0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
- < c> DW_AT_stmt_list : 0x0
+ <c> DW_AT_stmt_list : 0x0
<10> DW_AT_high_pc : 0x4
<14> DW_AT_low_pc : 0x0
<18> DW_AT_name : file1.txt
brgds, H-P