From: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Date: Tue, 20 May 97 10:40:43 +0200
To: linux-m68k@phil.uni-sb.de
In-Reply-To: Jes Sorensen's message of Fri, 16 May 1997 18:29:32 +0200
Subject: Re: L68K: 2.1.38
X-Yow: I'm meditating on the FORMALDEHYDE and the ASBESTOS leaking into my
 PERSONAL SPACE!!
References: <199705161629.SAA52194@sp052.cern.ch>
Sender: owner-linux-m68k@phil.uni-sb.de
Reply-To: linux-m68k@phil.uni-sb.de

Jes Sorensen <Jes.Sorensen@cern.ch> writes:

|> Most of the things are in, including the a2/current patches from Andreas
|> (it works on the 68060 now and I think it'll work on the 68040 as well).

Thanks, Jes.  But there's a bug in this patch that can cause the kernel
to crash when single stepping a process.

Andreas.

--- arch/m68k/kernel/entry.S.~5~	Thu May 15 19:22:21 1997
+++ arch/m68k/kernel/entry.S	Sat May 17 12:42:16 1997
@@ -257,7 +257,7 @@
 do_delayed_trace:
 	bclr	#7,%sp@(LSR)		| clear trace bit in SR
 	pea	1			| send SIGTRAP
-	movel	%a0,%sp@-
+	movel	%curptr,%sp@-
 	pea	5
 	jbsr	SYMBOL_NAME(send_sig)
 	addql	#8,%sp
