<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_external_elfutils/tests/run-deleted.sh, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_elfutils/'/>
<entry>
<title>tests: Use #/usr/bin/env bash in scripts that use bash</title>
<updated>2020-06-15T22:32:30+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mark@klomp.org</email>
</author>
<published>2020-06-15T22:25:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_elfutils/commit/?id=bca87ed8a200b8845e82b06fa94e69cd637dfea3'/>
<id>bca87ed8a200b8845e82b06fa94e69cd637dfea3</id>
<content type='text'>
Some systems don't have bash in /bin.

Signed-off-by: Mark Wielaard &lt;mark@klomp.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some systems don't have bash in /bin.

Signed-off-by: Mark Wielaard &lt;mark@klomp.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: skip run-deleted.sh when dwfl_linux_proc_attach is not implemented</title>
<updated>2015-06-27T21:28:35+00:00</updated>
<author>
<name>Pino Toscano</name>
<email>toscano.pino@tiscali.it</email>
</author>
<published>2015-06-27T17:23:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_elfutils/commit/?id=26d5a631209a82efe1d55dd44a9c65dc481138cb'/>
<id>26d5a631209a82efe1d55dd44a9c65dc481138cb</id>
<content type='text'>
If the current OS does not implement dwfl_linux_proc_attach (which
currently only Linux does) then skip this test, as "stack" uses that
API for attaching to a running process.

Signed-off-by: Pino Toscano &lt;toscano.pino@tiscali.it&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the current OS does not implement dwfl_linux_proc_attach (which
currently only Linux does) then skip this test, as "stack" uses that
API for attaching to a running process.

Signed-off-by: Pino Toscano &lt;toscano.pino@tiscali.it&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Don't match libfunc symbol on ppc64 in run-deleted.sh testcase.</title>
<updated>2014-12-19T19:53:22+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mjw@redhat.com</email>
</author>
<published>2014-12-19T19:53:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_elfutils/commit/?id=3943a3893619466d0927495485bca8a9b96a3dc9'/>
<id>3943a3893619466d0927495485bca8a9b96a3dc9</id>
<content type='text'>
For PPC64 we need access to the OPD table which we get through the shdrs
but for the deleted-lib we only have phdrs.  So we don't have the name of
the function. But since we should find the EH_FRAME through phdrs just
fine, we can unwind into main. Skip the libfunc name check for now till
we find a nice way to enable the lookup without opd:
https://bugzilla.redhat.com/show_bug.cgi?id=1176238

Signed-off-by: Mark Wielaard &lt;mjw@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For PPC64 we need access to the OPD table which we get through the shdrs
but for the deleted-lib we only have phdrs.  So we don't have the name of
the function. But since we should find the EH_FRAME through phdrs just
fine, we can unwind into main. Skip the libfunc name check for now till
we find a nice way to enable the lookup without opd:
https://bugzilla.redhat.com/show_bug.cgi?id=1176238

Signed-off-by: Mark Wielaard &lt;mjw@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: run-deleted.sh should SKIP if arch doesn't support unwinding.</title>
<updated>2014-12-19T17:33:52+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mjw@redhat.com</email>
</author>
<published>2014-12-19T17:33:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_elfutils/commit/?id=cdfc853b401f2897d470638d32fcc51520c13733'/>
<id>cdfc853b401f2897d470638d32fcc51520c13733</id>
<content type='text'>
Also relax the special ARM needs DWARF check a little to account for eu-stack
error output.

Signed-off-by: Mark Wielaard &lt;mjw@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also relax the special ARM needs DWARF check a little to account for eu-stack
error output.

Signed-off-by: Mark Wielaard &lt;mjw@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: run-deleted.sh unset VALGRIND_CMD before running deleted.</title>
<updated>2014-10-02T20:58:28+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mjw@redhat.com</email>
</author>
<published>2014-10-02T20:53:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_elfutils/commit/?id=281ebd7d5ac10c094b73c6ab812414cd7b891e60'/>
<id>281ebd7d5ac10c094b73c6ab812414cd7b891e60</id>
<content type='text'>
We don't want to run the deleted test process under valgrind then
eu-stack will see the valgrind process backtrace.

Signed-off-by: Mark Wielaard &lt;mjw@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We don't want to run the deleted test process under valgrind then
eu-stack will see the valgrind process backtrace.

Signed-off-by: Mark Wielaard &lt;mjw@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix resolving ELF symbols for live PIDs with deleted files</title>
<updated>2014-08-29T20:35:52+00:00</updated>
<author>
<name>Jan Kratochvil</name>
<email>jan.kratochvil@redhat.com</email>
</author>
<published>2014-08-17T16:49:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_elfutils/commit/?id=0375056af003d7676fb852e09782a985f3a52b1a'/>
<id>0375056af003d7676fb852e09782a985f3a52b1a</id>
<content type='text'>
For deleted shared library files the offsets to the symbol table were
calculated wrongly from the phdrs because the main_bias wasn't taken into
account.

Formerly shared libraries did not get resolved properly:
	#2  0x00007fc4d86c56d6
	#3  0x0000000000400938 main

Fixed elfutils produce:
	#2  0x00007f61094876d6 libfunc
	#3  0x0000000000400938 main

Signed-off-by: Jan Kratochvil &lt;jan.kratochvil@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For deleted shared library files the offsets to the symbol table were
calculated wrongly from the phdrs because the main_bias wasn't taken into
account.

Formerly shared libraries did not get resolved properly:
	#2  0x00007fc4d86c56d6
	#3  0x0000000000400938 main

Fixed elfutils produce:
	#2  0x00007f61094876d6 libfunc
	#3  0x0000000000400938 main

Signed-off-by: Jan Kratochvil &lt;jan.kratochvil@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
