site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Then, you should be able to write a handler with this signature: void handler(int, siginfo_t *info, ucontext_t *uap); The ucontext param contains the thread context values. Le 18 janv. 09 à 17:53, Joel Reymont a écrit : On Jan 18, 2009, at 4:26 PM, Joel Reymont wrote: +04 SIG# +08 GS +0C FS +10 ES +14 DS +18 EDI +1C ESI +20 EBP +24 ESP +28 EBX +2C EDX +30 ECX +34 EAX +38 TRAPNO +3C ERR +40 EIP +44 CS +48 EFL +4C UESP +50 SS --- http://twitter.com/wagerlabs _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/devlists%40shadowlab.org This email sent to devlists@shadowlab.org _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This is not really the stack, but the thread context (with content of the i386 registers). When you setup a signal handler, pass the SA_SIGINFO in the sigaction flags. Where can I find the description of the the stack frame passed to a sigaction handler by the OS? The stack frame looks like this on Linux, I'm looking for same on Leopard. Thanks in advance! This email sent to site_archiver@lists.apple.com
participants (1)
-
Jean-Daniel Dupas