On Mon, 26 Nov 2012 23:44:24 +0100, Lennart Poettering wrote:
> On Mon, 26.11.12 11:23, Mat Booth (fed...@matbooth.co.uk) wrote:
> > On 24 November 2012 07:40, Jan Kratochvil <jan.kratoch...@redhat.com> wrote:
> > > Hi,
> > >
> > > as elfutils package is going to contain unwinder in its next release 
> > > orphaning
> > > the libunwind library.
> > >
> > > https://admin.fedoraproject.org/pkgdb/acls/name/libunwind
> 
> Hmm, libunwind can now unwind coredumps. Can elfutils do that too?

Yes:

https://lists.fedorahosted.org/pipermail/elfutils-devel/2012-November/002748.html
+/* Get innermost frame of first thread of core file COREFILE.  Returns NULL on
+   failure.  */
+extern Dwfl_Frame_State *dwfl_frame_state_core (Dwfl *dwfl,
+                                               const char *corefile);
Tested on core files generated in tests/run-backtrace.sh.

For non-x86* there are testcases (also via tests/run-backtrace.sh):

https://lists.fedorahosted.org/pipermail/elfutils-devel/2012-November/002752.html
        * backtrace.ppc.core.bz2: New file.
        * backtrace.ppc.exec.bz2: New file.
        * backtrace.ppc64.core.bz2: New file.
        * backtrace.ppc64.exec.bz2: New file.
        * backtrace.s390.core.bz2: New file.
        * backtrace.s390.exec.bz2: New file.
        * backtrace.s390x.core.bz2: New file.
        * backtrace.s390x.exec.bz2: New file.


Jan
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to