Re: [PATCH] libdwfl: Handle unwind frame when the return address register isn't set.

2018-04-13 Thread Mark Wielaard
On Tue, 2018-04-10 at 16:23 +0200, Mark Wielaard wrote: > When we have unwound the frame and then cannot set the return address > we wouldn't set any error. That meant that a dwfl_thread_getframes () > call could end in an error, but without any dwfl_errno set, producing > the "no error" error mess

[PATCH] libdwfl: Handle unwind frame when the return address register isn't set.

2018-04-10 Thread Mark Wielaard
When we have unwound the frame and then cannot set the return address we wouldn't set any error. That meant that a dwfl_thread_getframes () call could end in an error, but without any dwfl_errno set, producing the "no error" error message. If we cannot set the return address at the end of unwindin