Google
  Web www.spinics.net

problem on handling SIGSEGV

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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
   segv_handler(int sig, struct sigcontext sc)
but i can not get a proper failing address using sc.cr2.
Could anyone help me? 
kernel is 2.4.22
ur attention is appreciated.


雅虎1G免费邮箱百分百防垃圾信
-- 

amd64-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/amd64-list

[Search]     [Home]     [Kernel List]     [Linux ia64]     [Linux X86_64]     [Red Hat Install]     [Red Hat Migration]     [Red Hat Development]     [Red Hat 9 Bible]     [Red Hat 9 Mailing List]     [Fedora Legacy]     [Yosemite News]