<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/elfutils.git/tests/ChangeLog, branch relocate</title>
<subtitle>sourceware.org: git/elfutils.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/elfutils.git/'/>
<entry>
<title>Merge branch 'master' into relocate</title>
<updated>2012-06-06T10:43:43+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mjw@redhat.com</email>
</author>
<published>2012-06-05T21:59:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/elfutils.git/commit/?id=a1557b89d06749ebed06877fe671c511a6fc6a82'/>
<id>a1557b89d06749ebed06877fe671c511a6fc6a82</id>
<content type='text'>
Signed-off-by: Richard Fontana &lt;rfontana@redhat.com&gt;
Signed-off-by: Mark Wielaard &lt;mjw@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Richard Fontana &lt;rfontana@redhat.com&gt;
Signed-off-by: Mark Wielaard &lt;mjw@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>TESTS_ENVIRONMENT set LC_ALL and LANG to C.</title>
<updated>2012-05-11T10:57:57+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mjw@redhat.com</email>
</author>
<published>2012-05-11T10:57:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/elfutils.git/commit/?id=dbbc67a97ace66c3adc299f26261fdec99d0c0d6'/>
<id>dbbc67a97ace66c3adc299f26261fdec99d0c0d6</id>
<content type='text'>
Some tests rely on sort order and output of tools that might be localized.

Reported-by: Paweł Sikora &lt;pluto@pld-linux.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some tests rely on sort order and output of tools that might be localized.

Reported-by: Paweł Sikora &lt;pluto@pld-linux.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.</title>
<updated>2012-05-07T11:29:52+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mjw@redhat.com</email>
</author>
<published>2012-05-07T11:29:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/elfutils.git/commit/?id=d9bc75fc20f0ce5064cac192a518af3c7192e96d'/>
<id>d9bc75fc20f0ce5064cac192a518af3c7192e96d</id>
<content type='text'>
GCC &lt; 4.7 had a bug where no code CUs got a highpc == lowpc.
Allow that, because it is not the main purpose of this test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GCC &lt; 4.7 had a bug where no code CUs got a highpc == lowpc.
Allow that, because it is not the main purpose of this test.
</pre>
</div>
</content>
</entry>
<entry>
<title>dwarf_highpc: Handle DW_AT_high_pc being a constant offset from DW_AT_low_pc.</title>
<updated>2012-04-28T13:02:28+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mjw@redhat.com</email>
</author>
<published>2012-04-27T11:00:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/elfutils.git/commit/?id=547972539ecbe8668e89d891d86cef10f0302fd5'/>
<id>547972539ecbe8668e89d891d86cef10f0302fd5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed old libdwarf test show-ciefde.</title>
<updated>2012-04-26T10:24:33+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mjw@redhat.com</email>
</author>
<published>2012-04-26T10:24:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/elfutils.git/commit/?id=bdad8e39aede889dbac95944a07eaebdebe4ad89'/>
<id>bdad8e39aede889dbac95944a07eaebdebe4ad89</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add new run-unstrip-n.sh test for RHBZ#805447 fixed in commit 210c2f.</title>
<updated>2012-04-02T22:21:50+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mjw@redhat.com</email>
</author>
<published>2012-04-02T22:21:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/elfutils.git/commit/?id=96a52138eab04f24a86c78e8f2af9c74c2d6bfaf'/>
<id>96a52138eab04f24a86c78e8f2af9c74c2d6bfaf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>elf32_offscn.c: Do not match SHT_NOBITS sections at OFFSET.</title>
<updated>2012-04-02T15:11:25+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mjw@redhat.com</email>
</author>
<published>2012-04-02T15:11:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/elfutils.git/commit/?id=191d1f0b9163593eee8c4f5cbe3e95cabf6ae9a9'/>
<id>191d1f0b9163593eee8c4f5cbe3e95cabf6ae9a9</id>
<content type='text'>
readelf -d doesn't work if a SHT_NOBITS section is right before the actual
.dynamic section at the same offset. elflint also fails on such binaries.
So skip SHT_NOBITS sections at the same offset in [g]elf[32|64]_offscn().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
readelf -d doesn't work if a SHT_NOBITS section is right before the actual
.dynamic section at the same offset. elflint also fails on such binaries.
So skip SHT_NOBITS sections at the same offset in [g]elf[32|64]_offscn().
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/master' into roland/relocate</title>
<updated>2012-03-28T21:29:07+00:00</updated>
<author>
<name>Roland McGrath</name>
<email>roland@hack.frob.com</email>
</author>
<published>2012-03-28T21:29:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/elfutils.git/commit/?id=234552863a3b43971f7f6c5a5be3449f033249de'/>
<id>234552863a3b43971f7f6c5a5be3449f033249de</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug using dwarf_next_unit to iterate over .debug_types</title>
<updated>2012-03-21T15:32:47+00:00</updated>
<author>
<name>Tom Tromey</name>
<email>tromey@redhat.com</email>
</author>
<published>2012-03-21T14:54:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/elfutils.git/commit/?id=581c3f60e2b1fc7ddaf4260bb5a9cb59f8e3f0d0'/>
<id>581c3f60e2b1fc7ddaf4260bb5a9cb59f8e3f0d0</id>
<content type='text'>
	* libdw_findcu.c (findcu_cb): Move earlier.
	(__libdw_intern_next_unit): Add new CU to search tree here...
	(__libdw_findcu): ... not here.

	* typeiter.c: New file.
	* run-typeiter.sh: New file.
	* testfile59.bz2: New file.
	* Makefile.am (noinst_PROGRAMS): Add typeiter.
	(TESTS): Add run-typeiter.sh.
	(EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
	(typeiter_LDADD): New variable.

If you call dwarf_next_unit to iterate over .debug_types, then call
dwarf_offdie_types, you can see a failure if some earlier call
happened to call __libdw_intern_next_unit via dwarf_formref_die.

What happens is that __libdw_intern_next_unit updates the Dwarf's
next_tu_offset, but does not add the TU to the TU search tree.  So,
the call to dwarf_offdie_types does not find the TU in the tree, and
will not search any more, causing a failure.

This fix changes __libdw_intern_next_unit to add the TU to the search
tree, rather than relying on __libdw_findcu to do it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	* libdw_findcu.c (findcu_cb): Move earlier.
	(__libdw_intern_next_unit): Add new CU to search tree here...
	(__libdw_findcu): ... not here.

	* typeiter.c: New file.
	* run-typeiter.sh: New file.
	* testfile59.bz2: New file.
	* Makefile.am (noinst_PROGRAMS): Add typeiter.
	(TESTS): Add run-typeiter.sh.
	(EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
	(typeiter_LDADD): New variable.

If you call dwarf_next_unit to iterate over .debug_types, then call
dwarf_offdie_types, you can see a failure if some earlier call
happened to call __libdw_intern_next_unit via dwarf_formref_die.

What happens is that __libdw_intern_next_unit updates the Dwarf's
next_tu_offset, but does not add the TU to the TU search tree.  So,
the call to dwarf_offdie_types does not find the TU in the tree, and
will not search any more, causing a failure.

This fix changes __libdw_intern_next_unit to add the TU to the search
tree, rather than relying on __libdw_findcu to do it.
</pre>
</div>
</content>
</entry>
<entry>
<title>run-alldts.sh: testrun ./alldts.</title>
<updated>2012-02-24T22:40:32+00:00</updated>
<author>
<name>Kurt Roeckx</name>
<email>kurt@roeckx.be</email>
</author>
<published>2012-02-24T22:40:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/elfutils.git/commit/?id=5a8e39a3a5dd1d4e553e5f3fc42c3f81c15e5069'/>
<id>5a8e39a3a5dd1d4e553e5f3fc42c3f81c15e5069</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
