fail to get ra and bp

Daniel Jacobowitz drow@false.org
Thu Oct 12 12:54:00 GMT 2006


On Thu, Oct 12, 2006 at 03:17:06PM +0800, ligang@sunnorth.com.cn wrote:
> Do you know which target use .eh_frame to handle call stack?
> Would you please give me more info about .eh_frame or some documents 
> describing it?

Most targets supported by GCC use it.  It's the same as DWARF CFI, just
with a slightly different encoding to support use at runtime.

> Could I directly call the functions in prologue-value.[hc]?

Take a look at the one port in the tree (maybe two?) which already
uses this code.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list