From owner-freebsd-hackers Tue Sep 15 08:03:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA24622 for freebsd-hackers-outgoing; Tue, 15 Sep 1998 08:03:06 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from terra.Sarnoff.COM (terra.sarnoff.com [130.33.11.203]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA24614 for ; Tue, 15 Sep 1998 08:03:01 -0700 (PDT) (envelope-from rminnich@Sarnoff.COM) Received: (from rminnich@localhost) by terra.Sarnoff.COM (8.6.12/8.6.12) id LAA15244; Tue, 15 Sep 1998 11:01:51 -0400 Date: Tue, 15 Sep 1998 11:01:50 -0400 (EDT) From: "Ron G. Minnich" X-Sender: rminnich@terra To: Mikael Karpberg cc: Konrad Heuer , freebsd-hackers@FreeBSD.ORG Subject: Re: Catching SIGSEGV In-Reply-To: <199809151330.PAA00371@ocean.campus.luth.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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