[SH][PATCH] Disable ABI frame sniffer

Mark Kettenis mark.kettenis@xs4all.nl
Thu Nov 24 23:42:00 GMT 2005


> Date: Thu, 24 Nov 2005 17:25:52 +0000
> From: Andrew STUBBS <andrew.stubbs@st.com>
>
> The attached patch to get_prev_frame_1() *does* fix the problem. With 
> this I get exactly what I want.
> 
> I have no doubt that it is somehow horribly flawed and totally 
> unacceptable, but hopefully something will emerge from all this.

Indeed it is.  Several operating systems map bits of code into the
program's address space and your patch prevents gdb from unwinding
through such bits.

Mark



More information about the Gdb-patches mailing list