Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Sep 1998 11:01:50 -0400 (EDT)
From:      "Ron G. Minnich" <rminnich@Sarnoff.COM>
To:        Mikael Karpberg <karpen@ocean.campus.luth.se>
Cc:        Konrad Heuer <kheuer@gwdu60.gwdg.de>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Catching SIGSEGV
Message-ID:  <Pine.SUN.3.91.980915110107.14273C-100000@terra>
In-Reply-To: <199809151330.PAA00371@ocean.campus.luth.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 15 Sep 1998, Mikael Karpberg wrote:
> My guess is that you would want to declare things like this:
> volatile int nsegv = 0;
> volatile int *ptr;
> int zero = 0;
> 
> Then the restarted "buf = *ptr;" line will not use a buffered value for ptr
> but read it from memory. I think.

Depends on the instruction and how restart happens. I think it's going to 
be iffy for portability. But it will be interesting to see how it works 
out :-)

ron

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?Pine.SUN.3.91.980915110107.14273C-100000>