Date: Wed, 22 Aug 2001 15:05:11 +1000 (EST) From: Bruce Evans <bde@zeta.org.au> To: John Baldwin <jhb@FreeBSD.org> Cc: <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org> Subject: Re: cvs commit: src/sys/kern kern_shutdown.c Message-ID: <20010822150135.X5785-100000@besplex.bde.org> In-Reply-To: <200108212255.f7LMtKG43424@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 21 Aug 2001, John Baldwin wrote: > jhb 2001/08/21 15:55:20 PDT > > Modified files: > sys/kern kern_shutdown.c > Log: > Allow one to restart from a panic in DDB by clearing the panicstr > variable to NULL. Note that since panic() is marked with __dead2, this > has somewhat unpredictable results at best. Such as "never" working? :-) On i386's panic() has no function epilogue or return statement, so you have to do these manually to get it to return. Then the caller may be missing stack cleanups... The easiest workaround is to declare panic() as returning, but this will cause lots of compiler warnings. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010822150135.X5785-100000>