<div>I'm now porting a program from IA64 to x86_64 and encountered problems on the segv_handler. I used struct sigcontext instead of siginfo_t and wrote the function as </div>  <div>   segv_handler(int sig, struct sigcontext sc)</div>  <div>but i can not get a proper failing address using sc.cr2.</div>  <div>Could anyone help me? </div>  <div>kernel is 2.4.22</div>  <div>ur attention is appreciated.</div><p>
                <hr size=1><a href="http://cn.mail.yahoo.com" target=blank> 
雅虎1G免费邮箱百分百防垃圾信</a>