https://sourceware.org/bugzilla/show_bug.cgi?id=30272

--- Comment #1 from Matt Wozniski <godlygeek at gmail dot com> ---
I encountered this issue using `dwfl_getthread_frames`, and I've found that
calling `dwfl_frame_reg` to check if the stack pointer register was the same
for two frames in a row and breaking out if so seems to work around it. I'm not
sure if that's entirely correct, though. Are there any legitimate cases where
two different frames passed to the callback would have the same stack pointer?
My impression is that the stack pointer should change for every function call
because the return address is stored on the stack, but perhaps there are some
architectures where that isn't the case...

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to