On Thu, Aug 21, 2003 at 10:12:49PM +0000 or thereabouts, Artem 'Zazoobr' Ignatjev 
wrote:
> At Thu, 21.08.2003, 22:02, Alexander Kabaev wrote:
> > Look for abort() or SIGABRT.
> Thanks so far for you and Lev.. Is there the way to specify struct
> sigcontext to it? I still wish to have `correct' registers values to be
> written into coredump, those that were when signal happened, and not
> that were when i did abort()ed manually

Not sure if it would work, but try
__asm__ __volatile__ ("pusha");
at the top of the cleanup function and
__asm__ __volatile__ ("popa");
just before you dump core.

-- Josh

> -- 
> Artem 'Zazoobr' Ignatjev <[EMAIL PROTECTED]>
> 
> _______________________________________________
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to