Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Sep 1998 16:32:51 +0200
From:      Martin Cracauer <cracauer@cons.org>
To:        Konrad Heuer <kheuer@gwdu60.gwdg.de>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Catching SIGSEGV
Message-ID:  <19980915163251.A7518@cons.org>
In-Reply-To: <Pine.BSF.3.96.980915114921.5972A-100000@gwdu60.gwdg.de>; from Konrad Heuer on Tue, Sep 15, 1998 at 12:22:11PM %2B0200
References:  <Pine.BSF.3.96.980915114921.5972A-100000@gwdu60.gwdg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
In <Pine.BSF.3.96.980915114921.5972A-100000@gwdu60.gwdg.de>, Konrad Heuer wrote: 
> 
> May I ask my question here although it's not correlated to FreeBSD
> development?
> 
> I write a program which shall run under FreeBSD and want to catch SIGSEGV
> to count these events. 

You have to longjmp out of your signal handler.

Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@cons.org> http://www.cons.org/cracauer
BSD User Group Hamburg, Germany     http://www.bsdhh.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980915163251.A7518>