This is the mail archive of the
mailing list for the elfutils project.
Re: [patch 4/4 v2] unwinder: The unwinder (x86* only)
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Fri, 14 Jun 2013 12:00:07 +0200
- Subject: Re: [patch 4/4 v2] unwinder: The unwinder (x86* only)
On Thu, 2013-06-13 at 19:30 +0200, Jan Kratochvil wrote:
> On Thu, 13 Jun 2013 15:48:22 +0200, Mark Wielaard wrote:
> > But I don't fully understand
> > why/where jmp is actually used in the test case.
> It tests the unwinder can properly unwind even if we stop at the very first
> instruction of a function. Therefore that ISACTIVATION is true for the bottom
O, I finally see how it works. When the child raises SIGUSR1 then the
backtrace.c testcase explicitly sets the PC to the first instruction of
jmp in backtrace-child to check this condition. How tricky and crafty :)